logic simplification

pull/1089/head
Jeff Becker 4 years ago
parent e4a16dfdd5
commit 00260555bd
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -121,7 +121,7 @@ namespace llarp
Key_t peer = Key_t(rc.pubkey);
if((us ^ location) < (peer ^ location) || peer == us)
if((us ^ location) <= (peer ^ location))
{
// ask second closest as we are recursive
if(not dht.Nodes()->FindCloseExcluding(location, peer, exclude))

Loading…
Cancel
Save