1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-02-02 06:54:15 +00:00

Revert "re trigger timer"

This reverts commit f87a51034e187ae4ca192bff224ba8bc0f362d67.
This commit is contained in:
Jeff Becker 2017-08-31 10:37:58 -04:00
parent d7e4deab4e
commit 41ce9d47e5
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -698,9 +698,6 @@ namespace client
} }
m_ReadyCallbacks.clear(); m_ReadyCallbacks.clear();
} }
m_ReadyCheckTimer.expires_from_now(boost::posix_time::seconds (1));
m_ReadyCheckTimer.async_wait(std::bind(&LeaseSetDestination::HandleReadyCheckTimer,
shared_from_this (), std::placeholders::_1));
} }
else else
{ {
@ -733,7 +730,7 @@ namespace client
m_Keys (keys), m_DatagramDestination (nullptr), m_RefCounter (0), m_Keys (keys), m_DatagramDestination (nullptr), m_RefCounter (0),
m_ReadyChecker(GetService()) m_ReadyChecker(GetService())
{ {
if (isPublic) if (isPublic)
PersistTemporaryKeys (); PersistTemporaryKeys ();
else else
i2p::crypto::GenerateElGamalKeyPair(m_EncryptionPrivateKey, m_EncryptionPublicKey); i2p::crypto::GenerateElGamalKeyPair(m_EncryptionPrivateKey, m_EncryptionPublicKey);