diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-06 19:43:02 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-07-06 19:43:02 +0800 |
commit | 4f7fc7b23f50f3fba4e2fb6815738c4ec2c8fe0a (patch) | |
tree | 7780b142547c121d9ada914b6bedce86777636cd /xeth/xeth.go | |
parent | 457a3c8f7691314b30909787b952fccebf7f38df (diff) | |
download | go-tangerine-4f7fc7b23f50f3fba4e2fb6815738c4ec2c8fe0a.tar go-tangerine-4f7fc7b23f50f3fba4e2fb6815738c4ec2c8fe0a.tar.gz go-tangerine-4f7fc7b23f50f3fba4e2fb6815738c4ec2c8fe0a.tar.bz2 go-tangerine-4f7fc7b23f50f3fba4e2fb6815738c4ec2c8fe0a.tar.lz go-tangerine-4f7fc7b23f50f3fba4e2fb6815738c4ec2c8fe0a.tar.xz go-tangerine-4f7fc7b23f50f3fba4e2fb6815738c4ec2c8fe0a.tar.zst go-tangerine-4f7fc7b23f50f3fba4e2fb6815738c4ec2c8fe0a.zip |
rpc, xeth: fixed returned tx hash & receipt logs
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r-- | xeth/xeth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 4bd18a2f6..f2295e6e1 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -973,7 +973,7 @@ func (self *XEth) Transact(fromStr, toStr, nonceStr, valueStr, gasStr, gasPriceS glog.V(logger.Info).Infof("Tx(%x) to: %x\n", tx.Hash(), tx.To()) } - return tx.Hash().Hex(), nil + return signed.Hash().Hex(), nil } func (self *XEth) sign(tx *types.Transaction, from common.Address, didUnlock bool) (*types.Transaction, error) { |