forked from TrueCloudLab/frostfs-node
8a2b7f4501
The only thing we need hashes for is to process notifications. Balance contract if left for now, as it has some initialization. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
12 lines
296 B
Go
12 lines
296 B
Go
package wrapper
|
|
|
|
import "github.com/nspcc-dev/neofs-node/pkg/morph/client/netmap"
|
|
|
|
// NewEpoch updates NeoFS epoch number through
|
|
// Netmap contract call.
|
|
func (w *Wrapper) NewEpoch(e uint64) error {
|
|
var args netmap.NewEpochArgs
|
|
args.SetEpochNumber(int64(e))
|
|
|
|
return w.client.NewEpoch(args)
|
|
}
|