fic: add node init
This commit is contained in:
parent
435fe8b754
commit
791b291ce7
|
@ -166,6 +166,11 @@ func (s *S5Protocol) Init(args ...any) error {
|
|||
s.node.Services().Storage().SetProviderStore(store)
|
||||
}
|
||||
|
||||
err := s.node.Init()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
func (s *S5Protocol) Start(ctx context.Context) error {
|
||||
|
|
Loading…
Reference in New Issue