From 0cf7adc2e14d27335dc185b1f659ac5edc3746cb Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Wed, 3 Jul 2024 19:23:06 +0400 Subject: [PATCH] fix: Set transaction index to 0 in tx receipt (#307) --- src/node/eth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/eth.rs b/src/node/eth.rs index ce9f750f..e5e3590a 100644 --- a/src/node/eth.rs +++ b/src/node/eth.rs @@ -515,7 +515,7 @@ impl EthNamespa nonce: U256::from(info.tx.common_data.nonce.0), block_hash: Some(hash), block_number: Some(U64::from(info.miniblock_number)), - transaction_index: Some(U64::from(1)), + transaction_index: Some(U64::from(0)), from: Some(info.tx.initiator_account()), to: Some(info.tx.recipient_account()), value: info.tx.execute.value,