mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-22 02:34:55 +00:00
parent
aa59f53ead
commit
4ee65ed243
2 changed files with 4 additions and 4 deletions
2
.github/nightly-version
vendored
2
.github/nightly-version
vendored
|
@ -1 +1 @@
|
|||
nightly-2023-09-01
|
||||
nightly-2023-10-01
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
use core::time::Duration;
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::sync::Arc;
|
||||
|
||||
use rand_core::OsRng;
|
||||
|
||||
use frost::{Participant, tests::key_gen};
|
||||
|
||||
use tokio::time::timeout;
|
||||
use tokio::{sync::Mutex, time::timeout};
|
||||
|
||||
use serai_db::{DbTxn, Db, MemDb};
|
||||
|
||||
|
@ -31,7 +31,7 @@ pub async fn test_scanner<N: Network>(network: N) {
|
|||
let new_scanner = || async {
|
||||
let mut db = db.clone();
|
||||
let (mut scanner, current_keys) = Scanner::new(network.clone(), db.clone());
|
||||
let mut first = first.lock().unwrap();
|
||||
let mut first = first.lock().await;
|
||||
if *first {
|
||||
assert!(current_keys.is_empty());
|
||||
let mut txn = db.txn();
|
||||
|
|
Loading…
Reference in a new issue