aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi/backend.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/backend.go
parent8ca64548077edb527b903058db876a4ec3771349 (diff)
downloadgo-tangerine-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar
go-tangerine-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.gz
go-tangerine-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.bz2
go-tangerine-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.lz
go-tangerine-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.xz
go-tangerine-9d9c6b5847bfd1267c2fee60f5a5b05bdaaf4216.tar.zst
go-tangerine-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/backend.go')
0 files changed, 0 insertions, 0 deletions