shift off bad intros when we get a discard message, this happens if the

other side's intro expires or the pivot restarts for whatever reason.
This commit is contained in:
Jeff Becker 2021-05-10 09:01:46 -04:00
parent 0bc8d9f477
commit 38cc130dc3
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -46,6 +46,7 @@ namespace llarp
{ {
LogWarn(Name(), " message ", seq, " dropped by endpoint ", p->Endpoint(), " via ", dst); LogWarn(Name(), " message ", seq, " dropped by endpoint ", p->Endpoint(), " via ", dst);
MarkCurrentIntroBad(Now()); MarkCurrentIntroBad(Now());
ShiftIntroduction(false);
} }
return true; return true;
} }