rpc, xeth: fixed returned tx hash & receipt logs
This commit is contained in:
@ -973,7 +973,7 @@ func (self *XEth) Transact(fromStr, toStr, nonceStr, valueStr, gasStr, gasPriceS
|
||||
glog.V(logger.Info).Infof("Tx(%x) to: %x\n", tx.Hash(), tx.To())
|
||||
}
|
||||
|
||||
return tx.Hash().Hex(), nil
|
||||
return signed.Hash().Hex(), nil
|
||||
}
|
||||
|
||||
func (self *XEth) sign(tx *types.Transaction, from common.Address, didUnlock bool) (*types.Transaction, error) {
|
||||
|
Reference in New Issue
Block a user