[#492] node: Never go offline on application shutdown

Application can be shut down often, it is undesirable to send status changes
on a transaction every time. Control API should be used before shutdown for
this purpose.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-05-12 12:00:59 +03:00 committed by Leonard Lyubich
parent 10308101df
commit 7a64a70b12
3 changed files with 0 additions and 24 deletions

View file

@ -89,10 +89,6 @@ func shutdown(c *cfg) {
closer()
}
if c.cfgNetmap.goOfflineEnabled {
goOffline(c)
}
c.wg.Wait()
}