aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-07-13 09:09:02 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-07-13 09:09:02 +0800
commitafba798357372357a49068fa29b306b3e228e10f (patch)
tree6b8cb206ca29ddb45e4371d7d9ece1dee83247e1
parent796c18db93add1d145db99d6088e445a56851e8b (diff)
downloaddexon-afba798357372357a49068fa29b306b3e228e10f.tar.gz
dexon-afba798357372357a49068fa29b306b3e228e10f.tar.zst
dexon-afba798357372357a49068fa29b306b3e228e10f.zip
xeth: log signed tx hash
-rw-r--r--xeth/xeth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 2781c67c9..2d69dce6d 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -946,9 +946,9 @@ 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)
+ glog.V(logger.Info).Infof("Tx(%s) created: %s\n", signed.Hash().Hex(), addr.Hex())
} else {
- glog.V(logger.Info).Infof("Tx(%x) to: %x\n", tx.Hash(), tx.To())
+ glog.V(logger.Info).Infof("Tx(%s) to: %s\n", signed.Hash().Hex(), tx.To().Hex())
}
return signed.Hash().Hex(), nil