Skip to content

Commit

Permalink
fix error string
Browse files Browse the repository at this point in the history
  • Loading branch information
rachit77 committed Sep 5, 2023
1 parent 112e37f commit fd688a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structs_unmarshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (b *Block) UnmarshalJSON(buf []byte) error {
return err
}
if b.BaseFee, err = decodeBigInt(b.BaseFee, v, "baseFee"); err != nil {
if err.Error() != "field baseFee not found" {
if err.Error() != "field 'baseFee' not found" {
return err
}
}
Expand Down

0 comments on commit fd688a0

Please sign in to comment.