mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Have included return a reference instead of a cloned Vec
This commit is contained in:
@@ -376,8 +376,8 @@ impl<C: Ciphersuite> ThresholdView<C> {
|
||||
self.group_key
|
||||
}
|
||||
|
||||
pub fn included(&self) -> Vec<u16> {
|
||||
self.included.clone()
|
||||
pub fn included(&self) -> &[u16] {
|
||||
&self.included
|
||||
}
|
||||
|
||||
pub fn secret_share(&self) -> &Zeroizing<C::F> {
|
||||
|
||||
Reference in New Issue
Block a user