Skip to content

Commit 9bdcdc6

Browse files
committed
fix(spsp): tighten trait bounds to account for stream changes
1 parent 24bffa2 commit 9bdcdc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/interledger-spsp/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ pub async fn pay<S, A>(
3939
source_amount: u64,
4040
) -> Result<StreamDelivery, Error>
4141
where
42-
S: IncomingService<A> + Clone,
43-
A: Account,
42+
S: IncomingService<A> + Send + Sync + Clone + 'static,
43+
A: Account + Send + Sync + Clone + 'static,
4444
{
4545
let spsp = query(receiver).await?;
4646
let shared_secret = spsp.shared_secret;

0 commit comments

Comments
 (0)