From 1f34daccc33d7d4edd3fdf27efbc0c29445f2f1f Mon Sep 17 00:00:00 2001 From: SilentCicero Date: Tue, 16 Jun 2015 12:47:34 -0400 Subject: Added glog messages like Transaction --- xeth/xeth.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xeth/xeth.go') diff --git a/xeth/xeth.go b/xeth/xeth.go index d2f992084..f0ba91ba7 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -794,8 +794,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 } -- cgit