Skip to content

Commit

Permalink
Merge pull request ethereum#52 from cp-yoonjin/dev
Browse files Browse the repository at this point in the history
internal/ethapi: changed 'blockNumber' data type (GetReceiptsByHash RPC)
  • Loading branch information
cp-khs authored May 19, 2023
2 parents b9dc179 + bb51925 commit 523c479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ func (s *PublicBlockChainAPI) GetReceiptsByHash(ctx context.Context, blockHash c

fields := map[string]interface{}{
"blockHash": blockHash,
"blockNumber": bigblock,
"blockNumber": hexutil.Uint64(block.NumberU64()),
"transactionHash": receipt.TxHash,
"transactionIndex": hexutil.Uint64(index),
"from": from,
Expand Down

0 comments on commit 523c479

Please sign in to comment.