mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
3.6.8 Simplify offset splitting
This wasn't done prior to be 'leaderless', as now the participant with the lowest ID has an extra step, yet this is still trivial. There's also notable performance benefits to not taking the previous dividing approach, which performed an exp.
This commit is contained in:
@@ -318,7 +318,7 @@ impl<C: Curve, A: Algorithm<C>> SignMachine<A::Signature> for AlgorithmSignMachi
|
||||
}
|
||||
}
|
||||
|
||||
let view = self.params.keys.view(&included).unwrap();
|
||||
let view = self.params.keys.view(included.clone()).unwrap();
|
||||
validate_map(&preprocesses, &included, multisig_params.i())?;
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user