func (t *Trade) ComputeHash() Hash {
	sha := sha3.NewKeccak256()

	sha.Write(t.OrderHash.Bytes())
	sha.Write(BigToHash(t.Amount).Bytes())
	sha.Write(t.Taker.Bytes())
	sha.Write(BigToHash(t.TradeNonce).Bytes())
	return BytesToHash(sha.Sum(nil))
}
// ComputeTradeHash returns hashes the trade
//
// The OrderHash, Aounot, Taker and TradeNonce attributes must be
// set before attempting to compute the trade hash
ComputeTradeHash returns hashes the trade

The OrderHash, Aounot, Taker and TradeNonce attributes must be
set before attempting to compute the trade hash
// ComputeTradeHash returns hashes the trade // // The OrderHash Aounot Taker and TradeNonce attributes must be // set before attempting to compute the trade hash
func (t *Trade) ComputeHash() Hash {
	sha := sha3.NewKeccak256()
	sha.Write(t.OrderHash.Bytes())
	sha.Write(BigToHash(t.Amount).Bytes())
	sha.Write(t.Taker.Bytes())
	sha.Write(BigToHash(t.TradeNonce).Bytes())
	return BytesToHash(sha.Sum(nil))
}
func ( t * Trade ) ComputeHash ( ) Hash { sha := sha3 . NewKeccak256 ( ) sha . Write ( t . OrderHash . Bytes ( ) ) sha . Write ( BigToHash ( t . Amount ) . Bytes ( ) ) sha . Write ( t . Taker . Bytes ( ) ) sha . Write ( BigToHash ( t . TradeNonce ) . Bytes ( ) ) return BytesToHash ( sha . Sum ( nil ) ) }
ComputeTradeHash returns hashes the trade
ComputeTradeHash returns hashes the trade