Cleanups.

This commit is contained in:
JoelKatz
2012-09-13 20:41:25 -07:00
parent b35f87564a
commit 0efe8b4892
4 changed files with 10 additions and 8 deletions

View File

@@ -84,9 +84,8 @@ void PeerSet::TimerEntry(boost::weak_ptr<PeerSet> wptr, const boost::system::err
if (result == boost::asio::error::operation_aborted)
return;
boost::shared_ptr<PeerSet> ptr = wptr.lock();
if (!ptr)
return;
ptr->invokeOnTimer();
if (ptr)
ptr->invokeOnTimer();
}
LedgerAcquire::LedgerAcquire(const uint256& hash) : PeerSet(hash, LEDGER_ACQUIRE_TIMEOUT),