mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-13 23:34:54 +00:00
7badb4a37b
* fix: slice error for index out of bounds this commit fixes slicing `notConnectedPeers` array with 0 to a negative value of `numPeersToConnect` by first checking if `numPeersToConnect` are greater than 0