Skip to content

Commit

Permalink
Fix bug in cfg flag
Browse files Browse the repository at this point in the history
  • Loading branch information
crodas committed Dec 4, 2024
1 parent 246e583 commit 9a88ded
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/cdk/src/wallet/subscription/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,11 @@ impl SubscriptionClient {
new_subscription_recv: mpsc::Receiver<SubId>,
on_drop_recv: mpsc::Receiver<SubId>,
) -> JoinHandle<()> {
#[cfg(any(feature = "http_subscription", target_arch = "wasm32"))]
#[cfg(any(
feature = "http_subscription",
not(feature = "mint"),
target_arch = "wasm32"
))]
return Self::http_worker(
http_client,
url,
Expand Down

0 comments on commit 9a88ded

Please sign in to comment.