aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-05-18 23:23:58 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-05-18 23:25:34 +0800
commit4b1a7d3868e796ee70f62985379e59f933a2aca0 (patch)
treeeafa67bf863c838c1f9dcebf45236e4b105349a4 /eth
parentc8a8ad97f7e8889ca9f3aece7ddb50cce8ef18c7 (diff)
downloaddexon-4b1a7d3868e796ee70f62985379e59f933a2aca0.tar
dexon-4b1a7d3868e796ee70f62985379e59f933a2aca0.tar.gz
dexon-4b1a7d3868e796ee70f62985379e59f933a2aca0.tar.bz2
dexon-4b1a7d3868e796ee70f62985379e59f933a2aca0.tar.lz
dexon-4b1a7d3868e796ee70f62985379e59f933a2aca0.tar.xz
dexon-4b1a7d3868e796ee70f62985379e59f933a2aca0.tar.zst
dexon-4b1a7d3868e796ee70f62985379e59f933a2aca0.zip
eth: fixed regression in eth_signTransaction fixes #2578
Sign transaction returned the unsigned transaction rather than the signed one.
Diffstat (limited to 'eth')
-rw-r--r--eth/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/api.go b/eth/api.go
index 1d66f53fe..c8ccbd51b 100644
--- a/eth/api.go
+++ b/eth/api.go
@@ -1353,7 +1353,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