p2p/discover: fix pending replies iteration
Range expressions capture the length of the slice once before the first iteration. A range expression cannot be used here since the loop modifies the slice variable (including length changes).
Please register or sign in to comment