good morning!!!!

Skip to content
Snippets Groups Projects
Commit cecc9cdd authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Merge pull request #1468 from Gustav-Simonsson/xeth_transact_logging

xeth: log signed tx hash
parents 796c18db afba7983
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment