Skip to content

Commit

Permalink
Update example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Cardona committed Feb 16, 2019
1 parent bf92125 commit 27962f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/burn-all/burn-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,14 @@ async function burnAll() {
const cashAddress = SLP.HDNode.toCashAddress(change)

const tokenId = ""
const amount = 0

// get token balances
try {
const iBurnAllConfig = {
fundingAddress: cashAddress,
fundingWif: SLP.HDNode.toWIF(change),
tokenId: tokenId,
amount: amount
bchChangeReceiverAddress: cashAddress
}
const burnAll = await SLP.TokenType1.burnAll(iBurnAllConfig)
console.log("TXID: ", burnAll)
Expand Down

0 comments on commit 27962f7

Please sign in to comment.