fix test
This commit is contained in:
parent
a5bbace17f
commit
383cb2a583
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue