From d41357bf28ae2d05d2d141a7b0a24296f65c0049 Mon Sep 17 00:00:00 2001 From: Fuyao Zhao Date: Tue, 28 Nov 2023 22:36:51 +0800 Subject: [PATCH] fix transactionIndex -> index --- src.ts/providers/format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src.ts/providers/format.ts b/src.ts/providers/format.ts index 7f4fcc585f..5b1bd4ed7d 100644 --- a/src.ts/providers/format.ts +++ b/src.ts/providers/format.ts @@ -198,7 +198,7 @@ export function formatTransactionResponse(value: any): TransactionResponseParams blockHash: allowNull(formatHash, null), blockNumber: allowNull(getNumber, null), - transactionIndex: allowNull(getNumber, null), + index: allowNull(getNumber, null), //confirmations: allowNull(getNumber, null),