mirror of https://github.com/status-im/go-waku.git
fix: stop node without rln
This commit is contained in:
parent
4c2b2a04c5
commit
81220b0a2e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue