diff --git a/dht/node.go b/dht/node.go index 9607d1e..58dd3fd 100644 --- a/dht/node.go +++ b/dht/node.go @@ -422,6 +422,9 @@ func (n *Node) SendAsync(ctx context.Context, contact Contact, req Request, opti case res := <-tx.res: ch <- &res return + //TODO: does this belong here? + //case <-n.stop.Ch(): + // return case <-ctx.Done(): return case <-time.After(udpTimeout):