func (w *Wallet) checkRelatedTransaction(tx *types.Tx) bool {
for _, v := range tx.Outputs {
var hash [32]byte
- sha3pool.Sum256(hash[:], v.ControlProgram)
+ sha3pool.Sum256(hash[:], v.ControlProgram())
if bytes := w.DB.Get(account.ContractKey(hash)); bytes != nil {
return true
}