Skip to content

Commit bf4c729

Browse files
committed
Impl Sync and Send for TestStore
1 parent a85d5b1 commit bf4c729

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/util/test_utils.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,9 @@ impl KVStore for TestStore {
632632
}
633633
}
634634

635+
unsafe impl Sync for TestStore {}
636+
unsafe impl Send for TestStore {}
637+
635638
pub struct TestBroadcaster {
636639
pub txn_broadcasted: Mutex<Vec<Transaction>>,
637640
pub blocks: Arc<Mutex<Vec<(Block, u32)>>>,

0 commit comments

Comments
 (0)