[bug] Fix get_state_for_commitments_root
This commit is contained in:
parent
27ee79f31d
commit
0be1065c5e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user