ethcore client: fix a double Read Lock bug in fn Client::logs() (#11172)

This commit is contained in:
Boqin Qin 2019-10-16 06:03:48 -04:00 committed by Wei Tang
parent f59ed47b1b
commit 6b57429d72
1 changed files with 1 additions and 1 deletions

View File

@ -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>> {