Skip to content

Commit

Permalink
Impl Sync and Send for TestStore
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Feb 7, 2024
1 parent a85d5b1 commit bf4c729
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lightning/src/util/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vec<Transaction>>,
pub blocks: Arc<Mutex<Vec<(Block, u32)>>>,
Expand Down

0 comments on commit bf4c729

Please sign in to comment.