diff --git a/apps/test/client/Cargo.toml b/apps/test/client/Cargo.toml index e609874..cca9adc 100644 --- a/apps/test/client/Cargo.toml +++ b/apps/test/client/Cargo.toml @@ -9,7 +9,7 @@ hex = "0.4.3" hidapi = "2.6.3" ledger-transport-hid = "0.11.0" sdk = { package = "vanadium-client-sdk", path = "../../../client-sdk"} -tokio = { version = "1.38.1", features = ["io-util", "macros", "net", "rt", "sync"] } +tokio = { version = "1.38.1", features = ["io-util", "macros", "net", "rt", "rt-multi-thread", "sync"] } [lib] name = "vnd_test_client" diff --git a/apps/test/client/src/main.rs b/apps/test/client/src/main.rs index 4f6b360..35d8908 100644 --- a/apps/test/client/src/main.rs +++ b/apps/test/client/src/main.rs @@ -98,7 +98,7 @@ fn parse_command(line: &str) -> Result { } } -#[tokio::main(flavor = "current_thread")] +#[tokio::main(flavor = "multi_thread")] async fn main() -> Result<(), Box> { let args = Args::parse();