Skip to content

Commit

Permalink
Fix pubsub transaction index (polkadot-evm#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgmichel authored Apr 20, 2021
1 parent b17ea4e commit c34edf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/rpc/src/eth_pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl SubscriptionResult {
block_hash: block_hash,
block_number: Some(block.header.number),
transaction_hash: transaction_hash,
transaction_index: Some(U256::from(log_index)),
transaction_index: Some(U256::from(receipt_index)),
log_index: Some(U256::from(log_index)),
transaction_log_index: Some(U256::from(
transaction_log_index
Expand Down

0 comments on commit c34edf6

Please sign in to comment.