forked from TrueCloudLab/neoneo-go
core: refactor (*Notary).verify
There could be only one Notary signer.
This commit is contained in:
parent
8444f3d816
commit
9bd2cae08e
1 changed files with 1 additions and 0 deletions
|
@ -339,6 +339,7 @@ func (n *Notary) verify(ic *interop.Context, args []stackitem.Item) stackitem.It
|
||||||
if signer.Scopes != transaction.None {
|
if signer.Scopes != transaction.None {
|
||||||
return stackitem.NewBool(false)
|
return stackitem.NewBool(false)
|
||||||
}
|
}
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if tx.Sender() == n.Hash {
|
if tx.Sender() == n.Hash {
|
||||||
|
|
Loading…
Reference in a new issue