mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
remove accidental change
This commit is contained in:
parent
db869ea400
commit
36da14b148
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ func (c *BoundContract) transact(opts *TransactOpts, contract *common.Address, i
|
|||
rawTx = types.NewTransaction(nonce, c.address, value, gasLimit, gasPrice, input)
|
||||
}
|
||||
if opts.Signer == nil {
|
||||
return rawTx, errors.New("no signer to authorize the transaction with")
|
||||
return nil, errors.New("no signer to authorize the transaction with")
|
||||
}
|
||||
signedTx, err := opts.Signer(types.HomesteadSigner{}, opts.From, rawTx)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue