mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
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 {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
return pubsToArray(keys.PublicKeys(ns))
|
return stackitem.Null{}
|
||||||
}
|
}
|
||||||
|
|
||||||
// DesignateAsRole sets nodes for role r.
|
// DesignateAsRole sets nodes for role r.
|
||||||
|
|
Loading…
Reference in a new issue