Skip to content

Commit

Permalink
fix dead code issues
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmasny committed Apr 9, 2024
1 parent eee7865 commit 2c46b47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ipa-core/src/protocol/context/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#[allow(dead_code)]
mod dzkp_malicious;
mod dzkp_semi_honest;
#[allow(dead_code)]
pub mod dzkp_validator;
#[cfg(feature = "descriptive-gate")]
pub mod malicious;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ impl<F: PrimeField> ExtendableField for F {

/// Trait for fields compatible with DZKPs
/// Field needs to support conversion to `SegmentEntry`, i.e. `to_segment_entry` which is required by DZKPs
#[allow(dead_code)]
pub trait DZKPCompatibleField: Field {
fn as_segment_entry(&self) -> SegmentEntry<'_>;
}
Expand Down

0 comments on commit 2c46b47

Please sign in to comment.