aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-16 02:35:51 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-16 02:35:51 +0800
commitcecc9cdd2f799ddaf189d62d9d43892f7dc82ebc (patch)
tree6b8cb206ca29ddb45e4371d7d9ece1dee83247e1
parent796c18db93add1d145db99d6088e445a56851e8b (diff)
parentafba798357372357a49068fa29b306b3e228e10f (diff)
downloadgo-tangerine-cecc9cdd2f799ddaf189d62d9d43892f7dc82ebc.tar
go-tangerine-cecc9cdd2f799ddaf189d62d9d43892f7dc82ebc.tar.gz
go-tangerine-cecc9cdd2f799ddaf189d62d9d43892f7dc82ebc.tar.bz2
go-tangerine-cecc9cdd2f799ddaf189d62d9d43892f7dc82ebc.tar.lz
go-tangerine-cecc9cdd2f799ddaf189d62d9d43892f7dc82ebc.tar.xz
go-tangerine-cecc9cdd2f799ddaf189d62d9d43892f7dc82ebc.tar.zst
go-tangerine-cecc9cdd2f799ddaf189d62d9d43892f7dc82ebc.zip
Merge pull request #1468 from Gustav-Simonsson/xeth_transact_logging
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