pass Subsystems to StorageMiner option; add enableLibp2p bool in Settings
This commit is contained in:
@@ -204,6 +204,7 @@ func FullAPI(out *api.FullNode, fopts ...FullOption) Option {
|
||||
return Options(
|
||||
func(s *Settings) error {
|
||||
s.nodeType = repo.FullNode
|
||||
s.enableLibp2pNode = true
|
||||
return nil
|
||||
},
|
||||
Options(fopts...),
|
||||
|
||||
Reference in New Issue
Block a user