[bug] Fix get_state_for_commitments_root

This commit is contained in:
Sosthene 2024-12-17 22:37:38 +01:00
parent 27ee79f31d
commit 0be1065c5e

View File

@ -354,9 +354,6 @@ impl Process {
}
for p in self.get_latest_concurrent_states()? {
if p.is_empty() {
continue;
}
if merkle_root == p.merkle_root.as_str() {
return Ok(p);
}
@ -372,9 +369,6 @@ impl Process {
}
for p in self.get_latest_concurrent_states_mut()? {
if p.is_empty() {
continue;
}
if merkle_root == p.merkle_root.as_str() {
return Ok(p);
}