fix(txpool): fix the unit in a log (#266)

This commit is contained in:
Gavin Yu 2024-06-05 09:37:45 +08:00 committed by GitHub
parent a29520e066
commit 9594e0a6a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {