aboutsummaryrefslogtreecommitdiffstats
path: root/les/distributor.go
diff options
context:
space:
mode:
Diffstat (limited to 'les/distributor.go')
-rw-r--r--les/distributor.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/les/distributor.go b/les/distributor.go
index 159fa4c73..d3f6b21d1 100644
--- a/les/distributor.go
+++ b/les/distributor.go
@@ -20,14 +20,10 @@ package les
import (
"container/list"
- "errors"
"sync"
"time"
)
-// ErrNoPeers is returned if no peers capable of serving a queued request are available
-var ErrNoPeers = errors.New("no suitable peers available")
-
// requestDistributor implements a mechanism that distributes requests to
// suitable peers, obeying flow control rules and prioritizing them in creation
// order (even when a resend is necessary).