fix(engine): return error on updates channel disconnect in sparse trie task (#22139)

Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Georgios Konstantopoulos
2026-02-12 15:00:36 -05:00
committed by GitHub
parent f72c503d6f
commit 1e8030ef28

View File

@@ -416,7 +416,9 @@ where
let update = match message {
Ok(m) => m,
Err(_) => {
break
return Err(ParallelStateRootError::Other(
"updates channel disconnected before state root calculation".to_string(),
))
}
};