aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-06-19 02:33:50 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-06-19 02:33:50 +0800
commite4f9ec886b498c5744633a4db1c735eec11dc71b (patch)
tree2e79f01ec71cd18aa889c11637b3ceb2be3ebb86 /xeth
parent8eaaf24b1e3d205c790f3803eaf333802284d50f (diff)
parent1f34daccc33d7d4edd3fdf27efbc0c29445f2f1f (diff)
downloaddexon-e4f9ec886b498c5744633a4db1c735eec11dc71b.tar.gz
dexon-e4f9ec886b498c5744633a4db1c735eec11dc71b.tar.zst
dexon-e4f9ec886b498c5744633a4db1c735eec11dc71b.zip
Merge pull request #1267 from SilentCicero/develop
eth_sendRawTransaction JSON RPC
Diffstat (limited to 'xeth')
-rw-r--r--xeth/xeth.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index d68f48d50..7342be4a9 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -803,8 +803,12 @@ func (self *XEth) PushTx(encodedTx string) (string, error) {
if tx.To() == nil {
addr := core.AddressFromMessage(tx)
+ 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())
}
+
return tx.Hash().Hex(), nil
}