fix test
This commit is contained in:
parent
b49999b76e
commit
dccd029069
|
@ -1355,6 +1355,7 @@ int test_main()
|
||||||
|
|
||||||
// test kademlia routing table
|
// test kademlia routing table
|
||||||
dht_settings s;
|
dht_settings s;
|
||||||
|
s.restrict_routing_ips = false;
|
||||||
node_id id = to_hash("3123456789abcdef01232456789abcdef0123456");
|
node_id id = to_hash("3123456789abcdef01232456789abcdef0123456");
|
||||||
dht::routing_table table(id, 10, s);
|
dht::routing_table table(id, 10, s);
|
||||||
table.node_seen(id, udp::endpoint(address_v4::any(), rand()));
|
table.node_seen(id, udp::endpoint(address_v4::any(), rand()));
|
||||||
|
|
Loading…
Reference in New Issue