TODO: review this

This commit is contained in:
Alex Grintsvayg 2018-06-21 13:39:25 -04:00
parent 18caec8d40
commit 766f4f101d

View file

@ -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):