From cfadaf69885a7b65b1750036b4e71d225968cb30 Mon Sep 17 00:00:00 2001 From: bobpkr Date: Wed, 29 Jun 2022 16:07:47 +0800 Subject: [PATCH] legacy tx must be IsLondon(head.Number) is false. --- internal/ethapi/transaction_args.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/transaction_args.go b/internal/ethapi/transaction_args.go index 9c5950af58fe..2e669501e010 100644 --- a/internal/ethapi/transaction_args.go +++ b/internal/ethapi/transaction_args.go @@ -111,7 +111,7 @@ func (args *TransactionArgs) setDefaults(ctx context.Context, b Backend) error { if err != nil { return err } - if b.ChainConfig().IsLondon(head.Number) { + if !b.ChainConfig().IsLondon(head.Number) { // The legacy tx gas price suggestion should not add 2x base fee // because all fees are consumed, so it would result in a spiral // upwards.