From bf4c7292c6783eee6d640e372f616be24468ac55 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Wed, 7 Feb 2024 12:54:21 +0100 Subject: [PATCH] Impl `Sync` and `Send` for `TestStore` --- lightning/src/util/test_utils.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightning/src/util/test_utils.rs b/lightning/src/util/test_utils.rs index 5346f8ec3..63106b912 100644 --- a/lightning/src/util/test_utils.rs +++ b/lightning/src/util/test_utils.rs @@ -632,6 +632,9 @@ impl KVStore for TestStore { } } +unsafe impl Sync for TestStore {} +unsafe impl Send for TestStore {} + pub struct TestBroadcaster { pub txn_broadcasted: Mutex>, pub blocks: Arc>>, -- 2.39.5