diff --git a/src/lib.rs b/src/lib.rs index e955ad2cb..c12296dbd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -988,7 +988,7 @@ impl Node { ]; tokio::task::block_in_place(move || { - tokio::runtime::Builder::new_current_thread().enable_all().build().unwrap().block_on( + tokio::runtime::Builder::new_multi_thread().enable_all().build().unwrap().block_on( async move { let now = Instant::now(); match wallet.sync().await {