core: fix native designateAsRole method

It shouldn't return anything.
This commit is contained in:
Anna Shaleva 2021-02-15 18:13:00 +03:00
parent 7127b93d06
commit 46dfd36a1f

View file

@ -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.