[#83] cmd/neofs-node: Add network state option to response service

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-22 14:24:08 +03:00 committed by Alex Vanin
parent 7fdb14cf8a
commit d05b2ff500
2 changed files with 6 additions and 2 deletions

View file

@ -55,7 +55,6 @@ func initNetmapService(c *cfg) {
),
)
c.cfgNetmap.state = newNetworkState()
addNewEpochNotificationHandler(c, func(ev event.Event) {
c.cfgNetmap.state.setCurrentEpoch(ev.(netmapEvent.NewEpoch).EpochNumber())
})