Skip to content

Commit

Permalink
Add missing tx.type field in the json marshal of a tx receipt (#1985) (
Browse files Browse the repository at this point in the history
…#1988)

Cherry pick from 1.7.1 hotfix ( 86eb987 )
  • Loading branch information
hbandura committed Dec 6, 2022
1 parent 2d2c375 commit 49ef8b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2030,6 +2030,7 @@ func generateReceiptResponse(receipt *types.Receipt, signer types.Signer, tx *ty
"contractAddress": nil,
"logs": receipt.Logs,
"logsBloom": receipt.Bloom,
"type": hexutil.Uint(receipt.Type),
}

// Assign receipt status or post state.
Expand Down

0 comments on commit 49ef8b5

Please sign in to comment.