diff --git a/frost-core/src/lib.rs b/frost-core/src/lib.rs index fbecfe07..1f4e2828 100644 --- a/frost-core/src/lib.rs +++ b/frost-core/src/lib.rs @@ -634,6 +634,7 @@ where /// Optional cheater detection feature /// Each share is verified to find the cheater +#[cfg(feature = "cheater-detection")] fn detect_cheater( group_commitment: GroupCommitment, pubkeys: &keys::PublicKeyPackage,