forked from mirror/go-ethereum
p2p/discover: bump failure counter only if no nodes were provided (#19362)
This resolves a minor issue where neighbors responses containing less than 16 nodes would bump the failure counter, removing the node. One situation where this can happen is a private deployment where the total number of extant nodes is less than 16. Issue found by @jsying.ChrisChinchilla-patch-3
parent
3996bc1ad9
commit
ed97517ff4
Loading…
Reference in new issue