From ec9620fb2f375379d3404a834a3350089702648a Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 6 Jul 2015 10:43:06 +0200 Subject: core/types, xeth: separate tx hash and tx signature hash --- xeth/xeth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xeth') diff --git a/xeth/xeth.go b/xeth/xeth.go index 1cec82e5e..36276ecf2 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -978,7 +978,7 @@ func (self *XEth) Transact(fromStr, toStr, nonceStr, valueStr, gasStr, gasPriceS } func (self *XEth) sign(tx *types.Transaction, from common.Address, didUnlock bool) (*types.Transaction, error) { - hash := tx.Hash() + hash := tx.SigHash() sig, err := self.doSign(from, hash, didUnlock) if err != nil { return tx, err -- cgit v1.2.3