From: Elias Rohrer Date: Wed, 7 Feb 2024 11:54:21 +0000 (+0100) Subject: Impl `Sync` and `Send` for `TestStore` X-Git-Tag: v0.0.123-beta~66^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=bf4c7292c6783eee6d640e372f616be24468ac55;p=rust-lightning Impl `Sync` and `Send` for `TestStore` --- 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>>,