Skip to content

Commit

Permalink
core/types: improve comment on body withdrawals field drop
Browse files Browse the repository at this point in the history
Co-authored-by: Arran Schlosberg <519948+ARR4N@users.noreply.github.com>
Signed-off-by: Quentin McGaw <quentin.mcgaw@gmail.com>
  • Loading branch information
qdm12 and ARR4N authored Feb 27, 2025
1 parent aed154c commit c973e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/block_ext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func TestBodyRLP(t *testing.T) {

wantBody, wantExtra := bodyWithNonZeroFields()

wantBody.Withdrawals = nil // this should be ignored
wantBody.Withdrawals = nil // this should be dropped by the RLP round trip
opts := cmp.Options{
txHashComparer(),
headerHashComparer(),
Expand Down

0 comments on commit c973e56

Please sign in to comment.