Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rachit77 committed Sep 4, 2023
1 parent 72fdee4 commit 112e37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structs_marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (t *Block) MarshalJSON() ([]byte, error) {
o.Set("nonce", a.NewString("0x"+hex.EncodeToString(t.Nonce[:])))

if t.BaseFee != nil {
o.Set("baseFeePerGas", a.NewString(fmt.Sprintf("0x%x", t.BaseFee)))
o.Set("baseFee", a.NewString(fmt.Sprintf("0x%x", t.BaseFee)))
}

// uncles
Expand Down

0 comments on commit 112e37f

Please sign in to comment.