Skip to content

Commit

Permalink
Merge pull request #2 from ok300/ok300-fix-ci-http-client-methods
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcaseria authored Nov 2, 2024
2 parents 6b8d225 + f9d0cf9 commit 24d43c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cdk/src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub struct Wallet {
/// The targeted amount of proofs to have at each size
pub target_proof_count: usize,
xpriv: Xpriv,
client: Arc<dyn HttpClientMethods>,
client: Arc<dyn HttpClientMethods + Send + Sync>,
}

impl Wallet {
Expand Down Expand Up @@ -97,7 +97,7 @@ impl Wallet {
}

/// Change HTTP client
pub fn set_client<C: HttpClientMethods + 'static>(&mut self, client: C) {
pub fn set_client<C: HttpClientMethods + 'static + Send + Sync>(&mut self, client: C) {
self.client = Arc::new(client);
}

Expand Down

0 comments on commit 24d43c5

Please sign in to comment.