les: fix megacheck warnings (#14941)
* les: fix megacheck warnings * les: fixed testGetProofs
This commit is contained in:
committed by
Péter Szilágyi
parent
d375193797
commit
fff6e03a79
@ -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
|
||||
|
Reference in New Issue
Block a user