Skip to content

Commit

Permalink
Merge pull request #5541 from kodadot/5125-unknow-offer
Browse files Browse the repository at this point in the history
🚑 do not kill burn on unknown offer
  • Loading branch information
yangwao authored Apr 7, 2023
2 parents 4e31042 + b82623d commit 6f596ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composables/transaction/transactionBurn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function execBurnTx(item: ActionConsume, api, executeTransaction) {
}
)
const cb = hasOffers.value
? api.tx.utility.batchAll
? api.tx.utility.batch
: getApiCall(api, item.urlPrefix, Interaction.CONSUME)
const arg = hasOffers.value
? [[...offerWithdrawArgs, api.tx.nft.burn(collectionId, tokenId)]]
Expand Down

0 comments on commit 6f596ae

Please sign in to comment.