aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-07-06 01:25:44 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-07-06 01:25:44 +0800
commitdd521ece3ff6163c891d2f945903533079413903 (patch)
tree78b4f354951d3bba11f55b6bce62afbaf315136c
parent62559ac3304ff582028a20771c8ef870f24685f5 (diff)
downloadgo-tangerine-dd521ece3ff6163c891d2f945903533079413903.tar
go-tangerine-dd521ece3ff6163c891d2f945903533079413903.tar.gz
go-tangerine-dd521ece3ff6163c891d2f945903533079413903.tar.bz2
go-tangerine-dd521ece3ff6163c891d2f945903533079413903.tar.lz
go-tangerine-dd521ece3ff6163c891d2f945903533079413903.tar.xz
go-tangerine-dd521ece3ff6163c891d2f945903533079413903.tar.zst
go-tangerine-dd521ece3ff6163c891d2f945903533079413903.zip
Always return transaction hash
-rw-r--r--xeth/xeth.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index cbc8dbbde..1e87b738d 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -966,7 +966,6 @@ func (self *XEth) Transact(fromStr, toStr, nonceStr, valueStr, gasStr, gasPriceS
if contractCreation {
addr := crypto.CreateAddress(from, nonce)
glog.V(logger.Info).Infof("Tx(%x) created: %x\n", tx.Hash(), addr)
- return addr.Hex(), nil
} else {
glog.V(logger.Info).Infof("Tx(%x) to: %x\n", tx.Hash(), tx.To())
}