Skip to content

Commit

Permalink
Renamed base fee json field (#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
begmaroman authored May 24, 2023
1 parent 7890d28 commit e859acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Header struct {
Hash Hash

// BaseFee was added by EIP-1559 and is ignored in legacy headers.
BaseFee uint64
BaseFee uint64 `json:"baseFeePerGas"`
}

func (h *Header) Equal(hh *Header) bool {
Expand Down

0 comments on commit e859acf

Please sign in to comment.