diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-05-18 23:23:58 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-05-24 15:33:10 +0800 |
commit | 0f6e3e873ab378e8ef997adcf5b0a0d78b6c90cc (patch) | |
tree | d52d286eedc1eddfbcd47bce654fddcdac39ebce /eth/api.go | |
parent | 7a7a5acc9ffee60ea838c8374741dad8e79e59ef (diff) | |
download | go-tangerine-0f6e3e873ab378e8ef997adcf5b0a0d78b6c90cc.tar go-tangerine-0f6e3e873ab378e8ef997adcf5b0a0d78b6c90cc.tar.gz go-tangerine-0f6e3e873ab378e8ef997adcf5b0a0d78b6c90cc.tar.bz2 go-tangerine-0f6e3e873ab378e8ef997adcf5b0a0d78b6c90cc.tar.lz go-tangerine-0f6e3e873ab378e8ef997adcf5b0a0d78b6c90cc.tar.xz go-tangerine-0f6e3e873ab378e8ef997adcf5b0a0d78b6c90cc.tar.zst go-tangerine-0f6e3e873ab378e8ef997adcf5b0a0d78b6c90cc.zip |
[release 1.4.5] eth: fixed regression in eth_signTransaction fixes #2578
Sign transaction returned the unsigned transaction rather than the
signed one.
(cherry picked from commit 4b1a7d3868e796ee70f62985379e59f933a2aca0)
Diffstat (limited to 'eth/api.go')
-rw-r--r-- | eth/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/api.go b/eth/api.go index 1f9fe5d55..06f4d5de0 100644 --- a/eth/api.go +++ b/eth/api.go @@ -1408,7 +1408,7 @@ func (s *PublicTransactionPoolAPI) SignTransaction(args SignTransactionArgs) (*S return nil, err } - return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(tx)}, nil + return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(signedTx)}, nil } // PendingTransactions returns the transactions that are in the transaction pool and have a from address that is one of |