Skip to content

Commit 3f7dbd1

Browse files
committed
Fix proof prechecks
1 parent 38755a2 commit 3f7dbd1

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

batcher/aligned-batcher/src/mina/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ pub fn check_state(pub_inputs: &[u8], offset: &mut usize) -> Result<(), String>
6060
pub fn check_pub_inputs(pub_inputs: &[u8]) -> Result<(), String> {
6161
let mut offset = 0;
6262

63-
check_hash(pub_inputs, &mut offset)?; // candidate hash
63+
check_hash(pub_inputs, &mut offset)?; // candidate ledger hash
64+
check_hash(pub_inputs, &mut offset)?; // candidate state hash
6465
check_hash(pub_inputs, &mut offset)?; // tip hash
6566

6667
check_state(pub_inputs, &mut offset)?; // candidate state

0 commit comments

Comments
 (0)