Browse Source

removed misplaced invariant check

cl-refactor
arkpar 10 years ago
parent
commit
820f1fb9a4
  1. 1
      libethereum/BlockChainSync.cpp

1
libethereum/BlockChainSync.cpp

@ -833,7 +833,6 @@ void PV60Sync::abortSync()
void PV60Sync::onPeerAborting()
{
RecursiveGuard l(x_sync);
DEV_INVARIANT_CHECK;
// Can't check invariants here since the peers is already removed from the list and the state is not updated yet.
if (m_syncer.expired() && m_state != SyncState::Idle)
{

Loading…
Cancel
Save