Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
s1fr0 committed Feb 18, 2022
1 parent 59fb066 commit 2108789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/v2/node/wakunode2.nim
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ proc protocolMatcher(codec: string): Matcher =
proc match(proto: string): bool {.gcsafe.} =
## Matches a proto with any postfix to the provided codec.
## E.g. if the codec is `/vac/waku/filter/2.0.0` it matches the protos:
## `/vac/waku/filter/2.0.0`, `/vac/waku/filter/2.0.0-beta4`, `/vac/waku/filter/2.0.0-actualnonsense`
## `/vac/waku/filter/2.0.0`, `/vac/waku/filter/2.0.0-beta3`, `/vac/waku/filter/2.0.0-actualnonsense`
return proto.startsWith(codec)

return match
Expand Down

0 comments on commit 2108789

Please sign in to comment.