Fix unused `Result` in tests main
authorMatt Corallo <git@bluematt.me>
Sat, 23 Mar 2024 21:24:38 +0000 (21:24 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 23 Mar 2024 21:26:13 +0000 (21:26 +0000)
src/persistence.rs

index 857cbc34da21f71525dd4020a947f8ea80985a0f..a7cfb37caca8c17c9a21541f9e10d934d2c13477 100644 (file)
@@ -250,7 +250,7 @@ impl<L: Deref> GossipPersister<L> where L::Target: Logger {
                }
                #[cfg(test)]
                for task in tasks_spawned {
-                       task.await;
+                       task.await.unwrap();
                }
        }