forked from TrueCloudLab/frostfs-node
8ea5744326
Add initialization of `updateInnerRing` method name in config on startup. Rename var `setInnerRing` => `updateInnerRing`. Rename method `SetInnerRing` => `UpdateInnerRing` Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
13 lines
364 B
Go
13 lines
364 B
Go
package wrapper
|
|
|
|
import "github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
|
|
|
// UpdateInnerRing updates inner ring keys.
|
|
func (w *Wrapper) UpdateInnerRing(keys keys.PublicKeys) error {
|
|
return w.client.UpdateInnerRing(keys)
|
|
}
|
|
|
|
// GetInnerRingList return current IR list.
|
|
func (w *Wrapper) GetInnerRingList() (keys.PublicKeys, error) {
|
|
return w.client.InnerRingList()
|
|
}
|