Skip to content

Commit

Permalink
Update log message for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
piersy committed Sep 21, 2022
1 parent a0174f4 commit 2bdc31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ func addEthCompatibilityFields(ctx context.Context, block map[string]interface{}
// base fee is returned we want to add it as a field and if there was an
// error and nil base fee we log the failure.
if err != nil && baseFee == nil {
log.Debug("Not adding gasPriceMinimum to RPC response, failed to retrieve gas price minimum", "block", header.Number.Uint64(), "err", err)
log.Debug("Not adding baseFeePerGas to RPC response, failed to retrieve gas price minimum", "block", header.Number.Uint64(), "err", err)
return
}
block["baseFeePerGas"] = (*hexutil.Big)(baseFee)
Expand Down

0 comments on commit 2bdc31e

Please sign in to comment.