forked from TrueCloudLab/neoneo-go
core: fix native designateAsRole method
It shouldn't return anything.
This commit is contained in:
parent
7127b93d06
commit
46dfd36a1f
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ func (s *Designate) designateAsRole(ic *interop.Context, args []stackitem.Item)
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return pubsToArray(keys.PublicKeys(ns))
|
||||
return stackitem.Null{}
|
||||
}
|
||||
|
||||
// DesignateAsRole sets nodes for role r.
|
||||
|
|
Loading…
Reference in a new issue