From 9594e0a6a87d14bdaa594b3a31eec116ce24c948 Mon Sep 17 00:00:00 2001 From: Gavin Yu Date: Wed, 5 Jun 2024 09:37:45 +0800 Subject: [PATCH] fix(txpool): fix the unit in a log (#266) --- core/txpool/validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/txpool/validation.go b/core/txpool/validation.go index 1f6d31a3c669..b1aaa7f1ea62 100644 --- a/core/txpool/validation.go +++ b/core/txpool/validation.go @@ -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 {