core: refactor (*Notary).verify

There could be only one Notary signer.
This commit is contained in:
Anna Shaleva 2021-02-11 13:53:37 +03:00
parent 8444f3d816
commit 9bd2cae08e

View file

@ -339,6 +339,7 @@ func (n *Notary) verify(ic *interop.Context, args []stackitem.Item) stackitem.It
if signer.Scopes != transaction.None {
return stackitem.NewBool(false)
}
break
}
}
if tx.Sender() == n.Hash {