Revert "[#963] node: Go on initialization even deposit notary is hung"

This reverts commit b4cb54e7ed.

Signed-off-by: aarifullin <a.arifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2024-03-13 11:53:59 +03:00
parent f42a529f49
commit 7a4b6057ce
4 changed files with 2 additions and 24 deletions

View file

@ -352,12 +352,6 @@ type internals struct {
log *logger.Logger
// Some methods that initialize node components may launch an asynchronous job,
// appending it to workers. That means despite application is already running,
// not all components completely initialized yet.
// initAppWG is used to control this situation.
initAppWG sync.WaitGroup
wg sync.WaitGroup
workers []worker
closers []closer