From 36da14b148131bc26ee230ca7479c27d07251432 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Fri, 8 Mar 2019 16:04:02 +0200 Subject: [PATCH] remove accidental change --- accounts/abi/bind/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/abi/bind/base.go b/accounts/abi/bind/base.go index bf223384fd..09776c6b47 100644 --- a/accounts/abi/bind/base.go +++ b/accounts/abi/bind/base.go @@ -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 {