diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-22 04:03:32 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-23 17:50:11 +0800 |
commit | 4feb5f6f9cd5128b4645c1265d814edb443ef43b (patch) | |
tree | 6dc5dc31b492263889b34d2fcb4f67a448d00bd5 /xeth | |
parent | 5cb5df003de428bc7fb406caf2af46496d70cef4 (diff) | |
download | go-tangerine-4feb5f6f9cd5128b4645c1265d814edb443ef43b.tar.gz go-tangerine-4feb5f6f9cd5128b4645c1265d814edb443ef43b.tar.zst go-tangerine-4feb5f6f9cd5128b4645c1265d814edb443ef43b.zip |
xeth, miner: updated some logging
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/xeth.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index afcb33e4c..251b070e4 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -682,9 +682,11 @@ func (self *XEth) Transact(fromStr, toStr, valueStr, gasStr, gasPriceStr, codeSt if contractCreation { addr := core.AddressFromMessage(tx) - glog.V(logger.Info).Infof("Contract addr %x\n", addr) + glog.V(logger.Info).Infof("Tx(%x) created: %x\n", tx.Hash(), addr) return core.AddressFromMessage(tx).Hex(), nil + } else { + glog.V(logger.Info).Infof("Tx(%x) to: %x\n", tx.Hash(), tx.To()) } return tx.Hash().Hex(), nil } |