ethcore client: fix a double Read Lock bug in fn Client::logs() (#11172)
This commit is contained in:
parent
f59ed47b1b
commit
6b57429d72
@ -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>> {
|
||||
|
Loading…
Reference in New Issue
Block a user