Closed lchenut closed 2 months ago
This PR fixes a double call when using the valueOr, withValue and toOpt templates.
valueOr
withValue
toOpt
The issue was found by @chaitanyaprem with a double call of a custom protocol here: https://github.com/waku-org/nwaku/blob/feat--nwaku-sync/waku/waku_sync/protocol.nim#L125-L126
Attention: Patch coverage is 88.88889% with 1 lines in your changes are missing coverage. Please review.
88.88889%
1 lines
Project coverage is 84.56%. Comparing base (03f67d3) to head (5081127).
03f67d3
5081127
This PR fixes a double call when using the
valueOr
,withValue
andtoOpt
templates.The issue was found by @chaitanyaprem with a double call of a custom protocol here: https://github.com/waku-org/nwaku/blob/feat--nwaku-sync/waku/waku_sync/protocol.nim#L125-L126