Merge pull request #343 from majestrate/fix-convotag-issue

unconditional reply in dht
This commit is contained in:
Jeff 2019-02-23 12:23:31 -05:00 committed by GitHub
commit 61fc62a4cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,12 +55,10 @@ namespace llarp
{ {
resultHandler(valuesFound); resultHandler(valuesFound);
} }
else if(whoasked.node != parent->OurKey())
{
parent->DHTSendTo( parent->DHTSendTo(
whoasked.node.as_array(), whoasked.node.as_array(),
new GotRouterMessage({}, whoasked.txid, valuesFound, false)); new GotRouterMessage({}, whoasked.txid, valuesFound, false), false);
}
} }
} // namespace dht } // namespace dht
} // namespace llarp } // namespace llarp