mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
dont stomp existing convotags
This commit is contained in:
parent
c26145f70e
commit
cab85b8f85
|
@ -305,6 +305,16 @@ namespace llarp
|
|||
delete self;
|
||||
return;
|
||||
}
|
||||
|
||||
if(self->handler->HasConvoTag(self->msg->tag))
|
||||
{
|
||||
llarp::LogError("dropping duplicate convo tag T=", self->msg->tag);
|
||||
// TODO: send convotag reset
|
||||
delete self->msg;
|
||||
delete self;
|
||||
return;
|
||||
}
|
||||
|
||||
// PKE (A, B, N)
|
||||
SharedSecret sharedSecret;
|
||||
using namespace std::placeholders;
|
||||
|
|
Loading…
Reference in a new issue