From 6ea28929c5d08783323bd009fca9e4b0230f5884 Mon Sep 17 00:00:00 2001 From: Yves Junqueira Date: Tue, 30 Aug 2016 03:59:35 +0000 Subject: [PATCH] Give names to the types of GetPeers --- dht.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dht.go b/dht.go index cc651d8..e68d62c 100644 --- a/dht.go +++ b/dht.go @@ -227,7 +227,7 @@ func newTokenSecret() string { // Logger allows the DHT client to attach hooks for certain RPCs so it can log // interesting events any way it wants. type Logger interface { - GetPeers(net.UDPAddr, string, InfoHash) + GetPeers(addr net.UDPAddr, queryID string, infoHash InfoHash) } type ihReq struct {