mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
check if LeaseSet was submitted recently. Fixed typo
This commit is contained in:
parent
835c480269
commit
85be76b01a
4 changed files with 13 additions and 9 deletions
|
@ -863,7 +863,7 @@ namespace garlic
|
|||
payloadLen += msg->GetPayloadLength () + 13;
|
||||
if (m_Destination) payloadLen += 32;
|
||||
}
|
||||
if (GetLeaseSetUpdateStatus () == eLeaseSetSubmitted && ts > GetLeaseSetSubmissionTime () + LEASET_CONFIRMATION_TIMEOUT)
|
||||
if (GetLeaseSetUpdateStatus () == eLeaseSetSubmitted && ts > GetLeaseSetSubmissionTime () + LEASESET_CONFIRMATION_TIMEOUT)
|
||||
{
|
||||
// resubmit non-confirmed LeaseSet
|
||||
SetLeaseSetUpdateStatus (eLeaseSetUpdated);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue