diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-07-13 09:09:02 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-07-13 09:09:02 +0800 |
commit | afba798357372357a49068fa29b306b3e228e10f (patch) | |
tree | 6b8cb206ca29ddb45e4371d7d9ece1dee83247e1 /xeth | |
parent | 796c18db93add1d145db99d6088e445a56851e8b (diff) | |
download | go-tangerine-afba798357372357a49068fa29b306b3e228e10f.tar go-tangerine-afba798357372357a49068fa29b306b3e228e10f.tar.gz go-tangerine-afba798357372357a49068fa29b306b3e228e10f.tar.bz2 go-tangerine-afba798357372357a49068fa29b306b3e228e10f.tar.lz go-tangerine-afba798357372357a49068fa29b306b3e228e10f.tar.xz go-tangerine-afba798357372357a49068fa29b306b3e228e10f.tar.zst go-tangerine-afba798357372357a49068fa29b306b3e228e10f.zip |
xeth: log signed tx hash
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/xeth.go | 4 |
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 |