Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
ethcore client: fix a double Read Lock bug in fn Client::logs() (#11172)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boqin Qin authored and sorpaas committed Oct 16, 2019
1 parent f59ed47 commit 6b57429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethcore/src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2038,7 +2038,7 @@ impl BlockChainClient for Client {
blocks
};

Ok(self.chain.read().logs(blocks, |entry| filter.matches(entry), filter.limit))
Ok(chain.logs(blocks, |entry| filter.matches(entry), filter.limit))
}

fn filter_traces(&self, filter: TraceFilter) -> Option<Vec<LocalizedTrace>> {
Expand Down

0 comments on commit 6b57429

Please sign in to comment.