From 423360eff13b4066536bdce3dae43868e04c32cd Mon Sep 17 00:00:00 2001 From: hschiau Date: Mon, 13 Nov 2023 16:34:41 +0200 Subject: [PATCH] Fix zero nonce issue in getMultiTransferMetadata --- src/transaction.decoder.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/transaction.decoder.ts b/src/transaction.decoder.ts index 66607f4..0333bbf 100644 --- a/src/transaction.decoder.ts +++ b/src/transaction.decoder.ts @@ -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: {