1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

logic simplification

This commit is contained in:
Jeff Becker 2020-02-07 15:28:13 -05:00
parent e4a16dfdd5
commit 00260555bd
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -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))