Browse Source

removed superfluous check on insert

cl-refactor
arkpar 10 years ago
parent
commit
5f80cee468
  1. 3
      mix/MixClient.cpp

3
mix/MixClient.cpp

@ -290,8 +290,7 @@ unsigned MixClient::installWatch(eth::LogFilter const& _f)
h256 h = _f.sha3();
{
Guard l(m_filterLock);
if (!m_filters.count(h))
m_filters.insert(std::make_pair(h, _f));
m_filters.insert(std::make_pair(h, _f));
}
return installWatch(h);
}

Loading…
Cancel
Save