summaryrefslogtreecommitdiffhomepage
path: root/receive.go
diff options
context:
space:
mode:
Diffstat (limited to 'receive.go')
-rw-r--r--receive.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/receive.go b/receive.go
index 1d8b718..b6261b2 100644
--- a/receive.go
+++ b/receive.go
@@ -561,7 +561,7 @@ func (peer *Peer) RoutineSequentialReceiver() {
select {
- case <-peer.routines.stop.Wait():
+ case <-peer.routines.stop:
return
case elem, ok := <-peer.queue.inbound: