aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi/api.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2019-04-08 19:35:11 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-04-08 19:35:50 +0800
commit9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216 (patch)
tree3015c64b71498d53ffe3f9707c9cdcbfb4be6c86 /internal/ethapi/api.go
parent8ca64548077edb527b903058db876a4ec3771349 (diff)
downloaddexon-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar
dexon-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.gz
dexon-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.bz2
dexon-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.lz
dexon-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.xz
dexon-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.zst
dexon-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.zip
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.
Diffstat (limited to 'internal/ethapi/api.go')
0 files changed, 0 insertions, 0 deletions