[#705] pkg/morph/netmap/wrapper: Add GetInnerRingList method

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-07-20 23:43:54 +03:00 committed by Alex Vanin
parent b3c81116b9
commit 84361beada

View file

@ -6,3 +6,8 @@ import "github.com/nspcc-dev/neo-go/pkg/crypto/keys"
func (w *Wrapper) SetInnerRing(keys keys.PublicKeys) error { func (w *Wrapper) SetInnerRing(keys keys.PublicKeys) error {
return w.client.SetInnerRing(keys) return w.client.SetInnerRing(keys)
} }
// GetInnerRingList return current IR list.
func (w *Wrapper) GetInnerRingList() (keys.PublicKeys, error) {
return w.client.InnerRingList()
}