Fix bootstrapper profile setting

This commit is contained in:
Łukasz Magiera 2021-03-09 23:46:13 +01:00
parent 1c62d7a40f
commit 58cacda733

View File

@ -313,11 +313,12 @@ var DaemonCmd = &cli.Command{
stop, err := node.New(ctx,
node.FullAPI(&api, node.Lite(isLite)),
node.Override(new(dtypes.Bootstrapper), isBootstrapper),
node.Override(new(dtypes.ShutdownChan), shutdownChan),
node.Online(),
node.Repo(r),
node.Override(new(dtypes.Bootstrapper), isBootstrapper),
node.Override(new(dtypes.ShutdownChan), shutdownChan),
genesis,
liteModeDeps,