File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
src/backends/plonky2/primitives Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -266,11 +266,11 @@ impl MerkleProof {
266266
267267#[ derive( Clone , Debug , PartialEq ) ]
268268pub struct MerkleClaimAndProof {
269+ /// `enabled` determines if the merkleproof verification is enabled
269270 pub enabled : bool ,
270271 pub root : Hash ,
271272 pub key : RawValue ,
272273 pub value : RawValue ,
273- pub case_ii_selector : bool ,
274274 /// The siblings in this proof are padded to max_depth
275275 pub proof : MerkleProof ,
276276}
@@ -282,7 +282,6 @@ impl MerkleClaimAndProof {
282282 root : EMPTY_HASH ,
283283 key : RawValue :: from ( 1 ) ,
284284 value : EMPTY_VALUE ,
285- case_ii_selector : false ,
286285 proof : MerkleProof {
287286 existence : false ,
288287 siblings : iter:: repeat ( EMPTY_HASH ) . take ( max_depth) . collect ( ) ,
@@ -309,7 +308,6 @@ impl MerkleClaimAndProof {
309308 root : ( * root) . into ( ) ,
310309 key : * key,
311310 value : value. cloned ( ) . unwrap_or ( EMPTY_VALUE ) ,
312- case_ii_selector : proof. other_leaf . is_some ( ) ,
313311 proof : MerkleProof {
314312 existence : proof. existence ,
315313 siblings : proof
Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ impl MerkleClaimAndProofTarget {
161161 pub fn set_targets (
162162 & self ,
163163 pw : & mut PartialWitness < F > ,
164- // `enabled` determines if the merkleproof verification is enabled
165164 enabled : bool ,
166165 existence : bool ,
167166 root : Hash ,
You can’t perform that action at this time.
0 commit comments