From 791b291ce7e4d6d0ec22b6f29ac5f40e6dfa56b3 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 30 Jan 2024 15:48:05 -0500 Subject: [PATCH] fic: add node init --- protocols/s5/s5.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/protocols/s5/s5.go b/protocols/s5/s5.go index 07abde1..105a70f 100644 --- a/protocols/s5/s5.go +++ b/protocols/s5/s5.go @@ -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 {