fix: need to register storage service

This commit is contained in:
Derrick Hammer 2024-01-29 02:12:02 -05:00
parent b60979e79d
commit cc53e61918
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -73,12 +73,14 @@ func DefaultNode(config *config.NodeConfig) *Node {
p2pService := service.NewP2P(params)
registryService := service.NewRegistry(params)
httpService := service.NewHTTP(params)
storageService := service.NewStorage(params)
// Aggregate services
services := NewServices(ServicesParams{
P2P: p2pService,
Registry: registryService,
HTTP: httpService,
Storage: storageService,
})
// Now create the node with the services