We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43c1f64 commit 4e127d2Copy full SHA for 4e127d2
1 file changed
operator/mina/lib/src/lib.rs
@@ -97,8 +97,8 @@ fn check_pub_inputs(
97
.first()
98
.map(|state| state.hash())
99
.ok_or("failed to retrieve root state hash".to_string())?;
100
- // Reconstructs the state hashes if the states form a chain. The iterator will be in the
101
- // reversed order of the public inputs one.
+ // Reconstructs the state hashes if the states form a chain, and compares them to the public
+ // input state hashes.
102
let mut state_hash = candidate_root_state_hash;
103
for (body_hash, expected_prev_state_hash) in proof
104
.candidate_chain_states
0 commit comments