diff --git a/crates/bdk/tests/wallet.rs b/crates/bdk/tests/wallet.rs index 9a0dd3bf..b32a5215 100644 --- a/crates/bdk/tests/wallet.rs +++ b/crates/bdk/tests/wallet.rs @@ -3854,3 +3854,9 @@ fn test_tx_cancellation() { .unwrap(); assert_eq!(change_derivation_4, (KeychainKind::Internal, 2)); } + +#[test] +fn test_thread_safety() { + fn thread_safe() {} + thread_safe::(); // compiles only if true +}