Impl Sync and Send for TestStore

This commit is contained in:
Elias Rohrer 2024-02-07 12:54:21 +01:00
parent a85d5b1444
commit bf4c7292c6
No known key found for this signature in database
GPG key ID: 36153082BDF676FD

View file

@ -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)>>>,