mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
logic simplification
This commit is contained in:
parent
e4a16dfdd5
commit
00260555bd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue