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 {
|
async move {
|
||||||
Ok(read::block(
|
Ok(read::block(
|
||||||
state.best_chain_receiver.borrow().as_ref(),
|
state.best_chain_receiver.borrow().clone().as_ref(),
|
||||||
&state.db,
|
&state.db,
|
||||||
hash_or_height,
|
hash_or_height,
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in New Issue