• Felix Lange's avatar
    p2p/discover: fix pending replies iteration · 7ea131d4
    Felix Lange authored
    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).
    7ea131d4
udp.go 10.3 KB