mirror of https://github.com/status-im/go-waku.git
fix linter (#73)
This commit is contained in:
parent
c1bdead94d
commit
86cf5304b2
1
Makefile
1
Makefile
|
@ -17,5 +17,6 @@ lint-install:
|
|||
lint:
|
||||
@echo "lint"
|
||||
@golangci-lint --exclude=SA1019 run ./... --deadline=5m
|
||||
|
||||
test:
|
||||
go test -v -failfast ./...
|
||||
|
|
|
@ -522,7 +522,10 @@ func (node *WakuNode) UnsubscribeFilter(ctx context.Context, topic string, conte
|
|||
}
|
||||
|
||||
// Send message to full node in order to unsubscribe
|
||||
node.filter.Unsubscribe(ctx, topic, contentTopics, f.PeerID)
|
||||
err := node.filter.Unsubscribe(ctx, topic, contentTopics, f.PeerID)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Iterate filter entries to remove matching content topics
|
||||
// make sure we delete the content filter
|
||||
|
|
Loading…
Reference in New Issue