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 d4c30b0..21cc317 100644
--- a/cmd/btcheck/main.go
+++ b/cmd/btcheck/main.go
@@ -35,7 +35,7 @@ func main() {
Compact: true,
Port: 6881,
}
- resp, err := req.Get(tor.Announce)
+ resp, err := req.Send(tor.Announce)
if err != nil {
log.Fatal(err)
}