From 5cf2646f91d7d36af5efd3c673c8becaefed2196 Mon Sep 17 00:00:00 2001 From: StackOverflowExcept1on <109800286+StackOverflowExcept1on@users.noreply.github.com> Date: Tue, 8 Oct 2024 17:00:58 +0300 Subject: [PATCH] chore(frost-core): fix dead_code warning --- frost-core/src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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,