mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 15:20:24 +01:00
Impl Sync
and Send
for TestStore
This commit is contained in:
parent
a85d5b1444
commit
bf4c7292c6
1 changed files with 3 additions and 0 deletions
|
@ -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)>>>,
|
||||
|
|
Loading…
Add table
Reference in a new issue