Drop the Chain watch channel lock before accessing the finalized state
This commit is contained in:
parent
74ce6e14d8
commit
8870944d13
|
@ -850,7 +850,7 @@ impl Service<Request> for ReadStateService {
|
|||
|
||||
async move {
|
||||
Ok(read::block(
|
||||
state.best_chain_receiver.borrow().as_ref(),
|
||||
state.best_chain_receiver.borrow().clone().as_ref(),
|
||||
&state.db,
|
||||
hash_or_height,
|
||||
))
|
||||
|
|
Loading…
Reference in New Issue