2021-05-31 11:50:11 +00:00
|
|
|
package wrapper
|
|
|
|
|
|
|
|
import "github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
|
|
|
|
2021-07-21 09:24:14 +00:00
|
|
|
// UpdateInnerRing updates inner ring keys.
|
|
|
|
func (w *Wrapper) UpdateInnerRing(keys keys.PublicKeys) error {
|
|
|
|
return w.client.UpdateInnerRing(keys)
|
2021-05-31 11:50:11 +00:00
|
|
|
}
|
2021-07-20 20:43:54 +00:00
|
|
|
|
|
|
|
// GetInnerRingList return current IR list.
|
|
|
|
func (w *Wrapper) GetInnerRingList() (keys.PublicKeys, error) {
|
|
|
|
return w.client.InnerRingList()
|
|
|
|
}
|