Skip to content

Commit

Permalink
Fix zero nonce issue in getMultiTransferMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mad2sm0key committed Nov 13, 2023
1 parent 1c6871e commit 423360e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/transaction.decoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ export class TransactionDecoder {
const identifier = this.hexToString(args[index++]);
const nonce = args[index++];
const value = this.hexToBigInt(args[index++]);

if (nonce) {
if (nonce && this.hexToNumber(nonce) > 0) {
result.transfers.push({
value,
properties: {
Expand Down

0 comments on commit 423360e

Please sign in to comment.