aboutsummaryrefslogtreecommitdiff
path: root/cmd/btcheck/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/btcheck/main.go')
-rw-r--r--cmd/btcheck/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btcheck/main.go b/cmd/btcheck/main.go
index 680bd5b..ce65fa0 100644
--- a/cmd/btcheck/main.go
+++ b/cmd/btcheck/main.go
@@ -33,7 +33,7 @@ func main() {
id, _ := peer.NewID()
req := tracker.Request{
- InfoHash: tor.InfoHash,
+ InfoHash: tor.Info.Hash(),
PeerID: []byte(id),
Compact: true,
}