diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-07-06 01:25:44 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-07-06 01:25:44 +0800 |
commit | dd521ece3ff6163c891d2f945903533079413903 (patch) | |
tree | 78b4f354951d3bba11f55b6bce62afbaf315136c | |
parent | 62559ac3304ff582028a20771c8ef870f24685f5 (diff) | |
download | dexon-dd521ece3ff6163c891d2f945903533079413903.tar dexon-dd521ece3ff6163c891d2f945903533079413903.tar.gz dexon-dd521ece3ff6163c891d2f945903533079413903.tar.bz2 dexon-dd521ece3ff6163c891d2f945903533079413903.tar.lz dexon-dd521ece3ff6163c891d2f945903533079413903.tar.xz dexon-dd521ece3ff6163c891d2f945903533079413903.tar.zst dexon-dd521ece3ff6163c891d2f945903533079413903.zip |
Always return transaction hash
-rw-r--r-- | xeth/xeth.go | 1 |
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()) } |