Skip to content

Commit

Permalink
Fix check_hash_traces_new
Browse files Browse the repository at this point in the history
  • Loading branch information
Mason Liang committed Jul 28, 2023
1 parent 90e2b1e commit a3d38ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ fn check_hash_traces_new(traces: &[(bool, HashDomain, Fr, Fr, Fr, bool, bool)])
HashDomain::Branch2
},
],
HashDomain::Branch1 | HashDomain::Branch2 => unreachable!(),
HashDomain::Branch1 | HashDomain::Branch2 => HashDomain::Branch3,
HashDomain::Branch3 => {
unreachable!("both siblings already present")
}
Expand Down

0 comments on commit a3d38ca

Please sign in to comment.