Browse Source

fixed "recommend releasing mutex as quickly as possible"

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
e0b03952c1
  1. 4
      libethereum/Client.cpp

4
libethereum/Client.cpp

@ -850,12 +850,14 @@ TransactionHashes Client::transactionHashes(h256 _blockHash) const
LocalisedLogEntries Client::logs(unsigned _watchId) const
{
LogFilter f;
try {
Guard l(m_filterLock);
return logs(m_filters.at(m_watches.at(_watchId).id).filter);
f = m_filters.at(m_watches.at(_watchId).id).filter;
} catch (...) {
return LocalisedLogEntries();
}
return logs(f);
}
LocalisedLogEntries Client::logs(LogFilter const& _f) const

Loading…
Cancel
Save