This commit is contained in:
vyzo 2019-05-16 18:44:07 +03:00
parent a5bbace17f
commit 383cb2a583
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ func TestRoutingDiscovery(t *testing.T) {
t.Fatal(err)
}
pis, err := FindPeers(ctx, d2, "/test", 20)
pis, err := FindPeers(ctx, d2, "/test", Limit(20))
if err != nil {
t.Fatal(err)
}