[#815] node: Make notary deposit before bootstrap

Bootstrap process involves `addPeer` contract
call => it is necessary to make deposit before
booting up.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-09-09 14:57:55 +03:00 committed by Alex Vanin
parent b303e49408
commit 288a8784d0

View file

@ -89,8 +89,8 @@ func initApp(c *cfg) {
func bootUp(c *cfg) { func bootUp(c *cfg) {
serveGRPC(c) serveGRPC(c)
bootstrapNode(c)
makeAndWaitNotaryDeposit(c) makeAndWaitNotaryDeposit(c)
bootstrapNode(c)
startWorkers(c) startWorkers(c)
startBlockTimers(c) startBlockTimers(c)
} }