Skip to content

Commit

Permalink
frost-core: fix visibility of coefficients() (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg authored Jan 15, 2025
1 parent f7dcad9 commit 94dba95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frost-core/src/keys/dkg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ pub mod round1 {
}

/// Returns the secret coefficients.
#[cfg(feature = "internals")]
pub fn coefficients(&self) -> Vec<Scalar<C>> {
#[cfg_attr(feature = "internals", visibility::make(pub))]
pub(crate) fn coefficients(&self) -> Vec<Scalar<C>> {
self.coefficients.iter().map(|s| s.0).collect()
}
}
Expand Down

0 comments on commit 94dba95

Please sign in to comment.