Skip to content

Commit

Permalink
Revert "re trigger timer"
Browse files Browse the repository at this point in the history
This reverts commit f87a510.
  • Loading branch information
majestrate committed Aug 31, 2017
1 parent d7e4dea commit 41ce9d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libi2pd/Destination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,9 +698,6 @@ namespace client
}
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
{
Expand Down Expand Up @@ -733,7 +730,7 @@ namespace client
m_Keys (keys), m_DatagramDestination (nullptr), m_RefCounter (0),
m_ReadyChecker(GetService())
{
if (isPublic)
if (isPublic)
PersistTemporaryKeys ();
else
i2p::crypto::GenerateElGamalKeyPair(m_EncryptionPrivateKey, m_EncryptionPublicKey);
Expand Down

0 comments on commit 41ce9d4

Please sign in to comment.