remove accidental change

This commit is contained in:
Georgios Konstantopoulos 2019-03-08 16:04:02 +02:00
parent db869ea400
commit 36da14b148

View file

@ -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 {