From 84361beadae24850ddc114f65a0de7012b028503 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 20 Jul 2021 23:43:54 +0300 Subject: [PATCH] [#705] pkg/morph/netmap/wrapper: Add `GetInnerRingList` method Signed-off-by: Pavel Karpy --- pkg/morph/client/netmap/wrapper/innerring.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/morph/client/netmap/wrapper/innerring.go b/pkg/morph/client/netmap/wrapper/innerring.go index c8007b854..9ecfa4037 100644 --- a/pkg/morph/client/netmap/wrapper/innerring.go +++ b/pkg/morph/client/netmap/wrapper/innerring.go @@ -6,3 +6,8 @@ import "github.com/nspcc-dev/neo-go/pkg/crypto/keys" func (w *Wrapper) SetInnerRing(keys keys.PublicKeys) error { return w.client.SetInnerRing(keys) } + +// GetInnerRingList return current IR list. +func (w *Wrapper) GetInnerRingList() (keys.PublicKeys, error) { + return w.client.InnerRingList() +}