forked from TrueCloudLab/frostfs-node
[#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:
parent
b303e49408
commit
288a8784d0
1 changed files with 1 additions and 1 deletions
|
@ -89,8 +89,8 @@ func initApp(c *cfg) {
|
|||
|
||||
func bootUp(c *cfg) {
|
||||
serveGRPC(c)
|
||||
bootstrapNode(c)
|
||||
makeAndWaitNotaryDeposit(c)
|
||||
bootstrapNode(c)
|
||||
startWorkers(c)
|
||||
startBlockTimers(c)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue