Browse Source

fixed m_future cleanup in transaction queue

cl-refactor
arkpar 10 years ago
parent
commit
af6a483aa6
  1. 2
      libethereum/TransactionQueue.cpp

2
libethereum/TransactionQueue.cpp

@ -161,6 +161,8 @@ ImportResult TransactionQueue::manageImport_WITH_LOCK(h256 const& _h, Transactio
{ {
fs->second.erase(t); fs->second.erase(t);
--m_futureSize; --m_futureSize;
if (fs->second.empty())
m_future.erase(fs);
} }
} }
} }

Loading…
Cancel
Save