From 630b42cda8a9b4b69ac694e22a33e9147f2c84e2 Mon Sep 17 00:00:00 2001 From: lightclient Date: Tue, 26 Nov 2024 17:51:20 -0700 Subject: [PATCH] accounts/external: handle set code tx type in backend --- accounts/external/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/external/backend.go b/accounts/external/backend.go index 62322753da..42eaf661cc 100644 --- a/accounts/external/backend.go +++ b/accounts/external/backend.go @@ -215,7 +215,7 @@ func (api *ExternalSigner) SignTx(account accounts.Account, tx *types.Transactio switch tx.Type() { case types.LegacyTxType, types.AccessListTxType: args.GasPrice = (*hexutil.Big)(tx.GasPrice()) - case types.DynamicFeeTxType, types.BlobTxType: + case types.DynamicFeeTxType, types.BlobTxType, types.SetCodeTxType: args.MaxFeePerGas = (*hexutil.Big)(tx.GasFeeCap()) args.MaxPriorityFeePerGas = (*hexutil.Big)(tx.GasTipCap()) default: