func (w *Wallet) SignTrade(t *Trade) error {
	hash := t.ComputeHash()
	t.Hash = hash

	sig, err := w.SignHash(hash)
	if err != nil {
		return err
	}

	t.Signature = sig
	return nil
}
// SignTrade signs and sets the signature of a trade with a wallet private key
SignTrade signs and sets the signature of a trade with a wallet private key
// SignTrade signs and sets the signature of a trade with a wallet private key
func (w *Wallet) SignTrade(t *Trade) error {
	hash := t.ComputeHash()
	t.Hash = hash
	sig, err := w.SignHash(hash)
	if err != nil {
		return err
	}
	t.Signature = sig
	return nil
}
func ( w * Wallet ) SignTrade ( t * Trade ) error { hash := t . ComputeHash ( ) t . Hash = hash sig , err := w . SignHash ( hash ) if err != nil { return err } t . Signature = sig return nil }
SignTrade signs and sets the signature of a trade with a wallet private key
SignTrade signs and sets the signature of a trade with a wallet private key