From dd521ece3ff6163c891d2f945903533079413903 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Sun, 5 Jul 2015 12:25:44 -0500 Subject: [PATCH] Always return transaction hash --- xeth/xeth.go | 1 - 1 file changed, 1 deletion(-) diff --git a/xeth/xeth.go b/xeth/xeth.go index cbc8dbbdef..1e87b738d8 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()) }