[bug] deadlock in handle_initial_transaction
This commit is contained in:
parent
960c0808fa
commit
9db6b9f957
@ -90,8 +90,7 @@ fn handle_initial_transaction(tx: Transaction, commit_msg: &CommitMessage) -> Re
|
|||||||
new_process.insert_concurrent_state(init_state)?;
|
new_process.insert_concurrent_state(init_state)?;
|
||||||
|
|
||||||
// Cache the process
|
// Cache the process
|
||||||
let mut commitments = lock_processes()?;
|
lock_processes()?.insert(
|
||||||
commitments.insert(
|
|
||||||
root_commitment,
|
root_commitment,
|
||||||
new_process,
|
new_process,
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user