Skip to content

Commit

Permalink
fix(txpool): fix the unit in a log (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 committed Jun 5, 2024
1 parent a29520e commit 9594e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/txpool/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func ValidateTransaction(tx *types.Transaction, head *types.Header, signer types
log.Error("Failed to parse TAIKO_MIN_TIP", "err", err)
} else {
if tx.GasTipCapIntCmp(new(big.Int).SetUint64(uint64(minTip))) < 0 {
return fmt.Errorf("max fee per gas is less than %d Gwei", minTip)
return fmt.Errorf("max fee per gas is less than %d wei", minTip)
}
}
} else {
Expand Down

0 comments on commit 9594e0a

Please sign in to comment.