aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-07-17 03:05:33 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-07-17 03:05:33 +0200
commit0fe086993b01f7d53c8b226bd1eb5665c1d0c18f (patch)
tree81d1289c4312baa54b3ded4ff5a61a8aaa550df1 /cmd
parentc317718d85c2881dad37dd009c4d690e599a2f34 (diff)
Replace InfoHash with Raw
Diffstat (limited to 'cmd')
-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,
}