From 288a8784d0aa6936e83a069b987a85c5ca858799 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Thu, 9 Sep 2021 14:57:55 +0300 Subject: [PATCH] [#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 --- cmd/neofs-node/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/neofs-node/main.go b/cmd/neofs-node/main.go index 983fd3d68..60a09da61 100644 --- a/cmd/neofs-node/main.go +++ b/cmd/neofs-node/main.go @@ -89,8 +89,8 @@ func initApp(c *cfg) { func bootUp(c *cfg) { serveGRPC(c) - bootstrapNode(c) makeAndWaitNotaryDeposit(c) + bootstrapNode(c) startWorkers(c) startBlockTimers(c) }