Merge pull request #5756 from filecoin-project/fix/bootstrapper-profile
Fix bootstrapper profile setting
This commit is contained in:
commit
268abb5318
@ -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,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user