Merge pull request #1746 from nspcc-dev/designation-fix

core: fix native designateAsRole method
This commit is contained in:
Roman Khimov 2021-02-15 18:48:35 +03:00 committed by GitHub
commit 43cf9a813a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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