Update nightly

Supersedes #387.
This commit is contained in:
Luke Parker 2023-10-03 01:34:12 -04:00
parent aa59f53ead
commit 4ee65ed243
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -1 +1 @@
nightly-2023-09-01
nightly-2023-10-01

View file

@ -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();