diff options
Diffstat (limited to 'les/peer.go')
-rw-r--r-- | les/peer.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/les/peer.go b/les/peer.go index 791d0da24..3ba2df3fe 100644 --- a/les/peer.go +++ b/les/peer.go @@ -38,10 +38,7 @@ var ( errNotRegistered = errors.New("peer is not registered") ) -const ( - maxHeadInfoLen = 20 - maxResponseErrors = 50 // number of invalid responses tolerated (makes the protocol less brittle but still avoids spam) -) +const maxResponseErrors = 50 // number of invalid responses tolerated (makes the protocol less brittle but still avoids spam) type peer struct { *p2p.Peer |