You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're getting the following warnings. Either we should remove the unused functions or add tests for them.
warning: associated function `deserialize` is never used
--> src/lib.rs:189:12
|
184 | impl<C> BindingFactor<C>
| ------------------------ associated function in this implementation
...
189 | pub fn deserialize(
| ^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: method `iter` is never used
--> src/lib.rs:231:12
|
220 | impl<C> BindingFactorList<C>
| ---------------------------- method in this implementation
...
231 | pub fn iter(&self) -> impl Iterator<Item = (&Identifier<C>, &BindingFactor<C>)> {
| ^^^^
warning: associated function `from_coefficients` is never used
--> src/keys.rs:120:19
|
88 | impl<C> SigningShare<C>
| ----------------------- associated function in this implementation
...
120 | pub(crate) fn from_coefficients(coefficients: &[Scalar<C>], peer: Identifier<C>) -> Self {
|
BindingFactor::deserialize()
BindingFactorList::iter()
SigningShare::from_coefficients()
The text was updated successfully, but these errors were encountered:
* Use from_coefficients() instead of evaluate_polynomial() when computing a signing_share (#576)
* Refactor BindingFactor::deserialize into from_hex as it's only used for testing (#576)
* Remove BindingFactorList::iter() and use directly in vector test (#576)
We're getting the following warnings. Either we should remove the unused functions or add tests for them.
The text was updated successfully, but these errors were encountered: