fix: stop node without rln

This commit is contained in:
Richard Ramos 2022-08-26 22:01:26 -04:00
parent 4c2b2a04c5
commit 81220b0a2e
No known key found for this signature in database
GPG Key ID: BD36D48BC9FFC88C
1 changed files with 3 additions and 1 deletions

View File

@ -96,6 +96,8 @@ func (w *WakuNode) mountRlnRelay() error {
}
func (w *WakuNode) stopRlnRelay() error {
w.rlnRelay.Stop()
if w.rlnRelay != nil {
w.rlnRelay.Stop()
}
return nil
}