From 8f15b0f6feb3a8bb50cecbc6b6944996af40bba8 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 29 Jul 2014 11:30:19 +0200 Subject: [PATCH] Remove unneeded lock. --- libethereum/Client.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libethereum/Client.cpp b/libethereum/Client.cpp index c44b0bd52..1f1248e76 100644 --- a/libethereum/Client.cpp +++ b/libethereum/Client.cpp @@ -171,8 +171,6 @@ void Client::uninstallWatch(unsigned _i) void Client::appendFromNewPending(h256 _bloom, h256Set& o_changed) const { lock_guard l(m_filterLock); - ReadGuard sl(x_stateDB); - for (pair const& i: m_filters) if ((unsigned)i.second.filter.latest() > m_bc.number() && i.second.filter.matches(_bloom)) o_changed.insert(i.first);