Skip to content

Commit

Permalink
Merge pull request #3 from ok300/ok300-fix-wasm-ci-http-client-methods
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcaseria authored Nov 4, 2024
2 parents 24d43c5 + db7ebbe commit a7dabf9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/cdk/src/wallet/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ impl HttpClient {
}
}

#[async_trait]
#[cfg_attr(target_arch = "wasm32", async_trait(?Send))]
#[cfg_attr(not(target_arch = "wasm32"), async_trait)]
impl HttpClientMethods for HttpClient {
/// Get Active Mint Keys [NUT-01]
#[instrument(skip(self), fields(mint_url = %mint_url))]
Expand Down Expand Up @@ -339,7 +340,8 @@ impl HttpClientMethods for HttpClient {
}

/// Http Client Methods
#[async_trait]
#[cfg_attr(target_arch = "wasm32", async_trait(?Send))]
#[cfg_attr(not(target_arch = "wasm32"), async_trait)]
pub trait HttpClientMethods: Debug {
/// Get Active Mint Keys [NUT-01]
async fn get_mint_keys(&self, mint_url: MintUrl) -> Result<Vec<KeySet>, Error>;
Expand Down

0 comments on commit a7dabf9

Please sign in to comment.