Merge pull request #1397 from tgerring/rpcreceipt

getTransactionReceipt RPC support
This commit is contained in:
Jeffrey Wilcke
2015-07-06 01:53:21 -07:00
4 changed files with 60 additions and 1 deletions

View File

@ -969,7 +969,6 @@ 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)
return addr.Hex(), nil
} else {
glog.V(logger.Info).Infof("Tx(%x) to: %x\n", tx.Hash(), tx.To())
}