dht/transaction.go | 4 ++-- diff --git a/dht/transaction.go b/dht/transaction.go index f7503d071c751403f4a369dc3ce000dcbe8f6278..0c007f00ca5d23382f9f1cb336ca6204bdec4729 100644 --- a/dht/transaction.go +++ b/dht/transaction.go @@ -22,8 +22,8 @@ lastSend time.Time userOnResponse func(Msg, bool) } -// SetResponseHandler sets up a function to be called when query response -// arrives. +// SetResponseHandler sets up a function to be called when the query response +// is available. func (t *Transaction) SetResponseHandler(f func(Msg, bool)) { t.mu.Lock() defer t.mu.Unlock()