Skip to content

Commit

Permalink
fixed non-updating LeaseSet1
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed May 28, 2020
1 parent 45e8d5c commit 0dc212d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libi2pd/LeaseSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ namespace data

bool LeaseSet::IsNewer (const uint8_t * buf, size_t len) const
{
return ExtractExpirationTimestamp (buf, len) > (m_ExpirationTime ? m_ExpirationTime : ExtractExpirationTimestamp (m_Buffer, m_BufferLen));
return ExtractExpirationTimestamp (buf, len) > ExtractExpirationTimestamp (m_Buffer, m_BufferLen);
}

bool LeaseSet::ExpiresSoon(const uint64_t dlt, const uint64_t fudge) const
Expand Down

0 comments on commit 0dc212d

Please sign in to comment.