mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Move to Arc/RwLock
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use std::{rc::Rc, collections::HashMap};
|
||||
use std::{sync::Arc, collections::HashMap};
|
||||
|
||||
use crate::{
|
||||
Curve, MultisigKeys,
|
||||
@@ -73,7 +73,7 @@ pub fn vectors<C: Curve, H: Hram<C>>(vectors: Vectors) {
|
||||
*i,
|
||||
AlgorithmMachine::new(
|
||||
Schnorr::<C, H>::new(),
|
||||
Rc::new(keys[i].clone()),
|
||||
Arc::new(keys[i].clone()),
|
||||
vectors.included.clone()
|
||||
).unwrap()
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user