fix: pass ctx on protocol Stop
This commit is contained in:
parent
43eb8c3e9a
commit
86dc8c8b9a
|
@ -184,7 +184,7 @@ func (s *S5Protocol) Init(ctx context.Context) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (s *S5Protocol) Start(ctx context.Context) error {
|
func (s *S5Protocol) Start(ctx context.Context) error {
|
||||||
err := s.node.Start()
|
err := s.node.Start(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue