Skip to content

Commit

Permalink
Working GetMagnet2 test.
Browse files Browse the repository at this point in the history
  • Loading branch information
aldenml committed Feb 26, 2015
1 parent a13eaf1 commit 0acc0a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/com/frostwire/jlibtorrent/demo/GetMagnet2.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public void alert(Alert<?> alert) {

DHT dht = new DHT(s);

dht.getPeers("86d0502ead28e495c9e67665340f72aa72fe304");

System.out.println("Waiting for nodes in DHT");
dht.waitNodes(1);
System.out.println("Nodes in DHT: " + dht.nodes());
Expand Down

0 comments on commit 0acc0a3

Please sign in to comment.