From 1c9aee0c39d77f6f123132033a6e4b738f0ef8e5 Mon Sep 17 00:00:00 2001 From: maskpp Date: Thu, 11 Sep 2025 00:21:57 +0800 Subject: [PATCH] fix the transact method --- accounts/abi/bind/v2/base.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/accounts/abi/bind/v2/base.go b/accounts/abi/bind/v2/base.go index 535c0ed4fd..f81f5dd5e8 100644 --- a/accounts/abi/bind/v2/base.go +++ b/accounts/abi/bind/v2/base.go @@ -416,8 +416,6 @@ func (c *BoundContract) transact(opts *TransactOpts, contract *common.Address, i ) if opts.GasPrice != nil { rawTx, err = c.createLegacyTx(opts, contract, input) - } else if opts.GasFeeCap != nil && opts.GasTipCap != nil { - rawTx, err = c.createDynamicTx(opts, contract, input, nil) } else { // Only query for basefee if gasPrice not specified if head, errHead := c.transactor.HeaderByNumber(ensureContext(opts.Context), nil); errHead != nil {