mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-03 14:33:09 +00:00
fix(c-bindings): stop discv5
This commit is contained in:
parent
e69d6e61dd
commit
d4e0a70233
@ -57,6 +57,6 @@ func StopDiscoveryV5() string {
|
||||
if wakuNode.DiscV5() == nil {
|
||||
return MakeJSONResponse(errors.New("DiscV5 is not mounted"))
|
||||
}
|
||||
err := wakuNode.DiscV5().Start(context.Background())
|
||||
return MakeJSONResponse(err)
|
||||
wakuNode.DiscV5().Stop()
|
||||
return MakeJSONResponse(nil)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user