From 112e37f7f8072d9a1488af6083c3a0afdd53939c Mon Sep 17 00:00:00 2001 From: Rachit Sonthalia Date: Mon, 4 Sep 2023 19:42:54 +0530 Subject: [PATCH] fix typo --- structs_marshal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structs_marshal.go b/structs_marshal.go index 7cb25071..a8f2ec11 100644 --- a/structs_marshal.go +++ b/structs_marshal.go @@ -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