Merge pull request #5756 from filecoin-project/fix/bootstrapper-profile

Fix bootstrapper profile setting
This commit is contained in:
Łukasz Magiera 2021-03-10 08:55:34 +01:00 committed by GitHub
commit 268abb5318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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