@@ -230,7 +230,7 @@ func (w *Wallet) SignHash(account accounts.Account, hash []byte) ([]byte, error)
230
230
}
231
231
232
232
// SignTxEIP155 implements accounts.Wallet, which allows the account to sign an ERC-20 transaction.
233
- func (w * Wallet ) SignTxEIP155 (account accounts.Account , tx * types.Transaction , baseFee , chainID * big.Int ) (* types.Transaction , error ) {
233
+ func (w * Wallet ) SignTxEIP155 (account accounts.Account , tx * types.Transaction , chainID , baseFee * big.Int ) (* types.Transaction , error ) {
234
234
w .stateLock .RLock () // Comms have own mutex, this is for the state fields
235
235
defer w .stateLock .RUnlock ()
236
236
@@ -265,7 +265,7 @@ func (w *Wallet) SignTxEIP155(account accounts.Account, tx *types.Transaction, b
265
265
}
266
266
267
267
// SignTx implements accounts.Wallet, which allows the account to sign an Ethereum transaction.
268
- func (w * Wallet ) SignTx (account accounts.Account , tx * types.Transaction , baseFee , chainID * big.Int ) (* types.Transaction , error ) {
268
+ func (w * Wallet ) SignTx (account accounts.Account , tx * types.Transaction , chainID , baseFee * big.Int ) (* types.Transaction , error ) {
269
269
w .stateLock .RLock () // Comms have own mutex, this is for the state fields
270
270
defer w .stateLock .RUnlock ()
271
271
@@ -308,7 +308,7 @@ func (w *Wallet) SignHashWithPassphrase(account accounts.Account, passphrase str
308
308
309
309
// SignTxWithPassphrase implements accounts.Wallet, attempting to sign the given
310
310
// transaction with the given account using passphrase as extra authentication.
311
- func (w * Wallet ) SignTxWithPassphrase (account accounts.Account , passphrase string , tx * types.Transaction , baseFee , chainID * big.Int ) (* types.Transaction , error ) {
311
+ func (w * Wallet ) SignTxWithPassphrase (account accounts.Account , passphrase string , tx * types.Transaction , chainID , baseFee * big.Int ) (* types.Transaction , error ) {
312
312
return w .SignTx (account , tx , baseFee , chainID )
313
313
}
314
314
0 commit comments