xeth, miner: updated some logging
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user