Skip to content

Commit

Permalink
refactor: allow overriding the online checker for filter
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos committed Jun 18, 2024
1 parent 839df15 commit b9d764b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions waku/v2/protocol/filter/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -714,3 +714,7 @@ func (wf *WakuFilterLightNode) UnsubscribeAll(ctx context.Context, opts ...Filte
func (wf *WakuFilterLightNode) OnlineChecker() onlinechecker.OnlineChecker {
return wf.onlineChecker
}

func (wf *WakuFilterLightNode) SetOnlineChecker(onlineChecker onlinechecker.OnlineChecker) {
wf.onlineChecker = onlineChecker
}

0 comments on commit b9d764b

Please sign in to comment.