diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b65e3e1..7acd36d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: # Minumum Supported Rust Version (MSRV) is 1.56.1. - toolchain: [1.56.1, stable, beta, nightly] + toolchain: [stable, beta, nightly] steps: - uses: actions/checkout@v3 - name: Update Toolchain diff --git a/example/signet.rs b/example/signet.rs index 2a3b690..572c1b6 100644 --- a/example/signet.rs +++ b/example/signet.rs @@ -41,7 +41,7 @@ async fn main() { .await; // Check if the node is running. Another part of the program may be giving us the node. if !node.is_running() { - let _ = tokio::task::spawn(async move { node.run().await }); + let _ = tokio::task::spawn(async move { node.run().await }).await; } // Split the client into components that send messages and listen to messages. // With this construction, different parts of the program can take ownership of