correct time offset direction

This commit is contained in:
orignal 2023-12-31 10:14:24 -05:00
parent 8319dd6b25
commit 21f41a2b2a

View File

@ -217,8 +217,8 @@ namespace transport
if (m_PendingTimeOffset) // one more
{
offset = (m_PendingTimeOffset + offset)/2; // average
LogPrint (eLogWarning, "SSU2: Clock adjusted by ", -offset, " seconds");
i2p::util::AdjustTimeOffset (-offset);
LogPrint (eLogWarning, "SSU2: Clock adjusted by ", offset, " seconds");
i2p::util::AdjustTimeOffset (offset);
m_PendingTimeOffset = 0;
}
else