diff options
author | Felix Lange <fjl@twurst.com> | 2015-07-06 16:43:06 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-07-06 16:45:45 +0800 |
commit | ec9620fb2f375379d3404a834a3350089702648a (patch) | |
tree | 5de517a64b15acfdbff500aa0a32d85cd6001703 /xeth/xeth.go | |
parent | 9c3db1be1dd24c366a58a7ced22adfa0b0839efe (diff) | |
download | dexon-ec9620fb2f375379d3404a834a3350089702648a.tar.gz dexon-ec9620fb2f375379d3404a834a3350089702648a.tar.zst dexon-ec9620fb2f375379d3404a834a3350089702648a.zip |
core/types, xeth: separate tx hash and tx signature hash
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r-- | xeth/xeth.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |