Skip to content

Commit

Permalink
fix: rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Oct 25, 2024
1 parent 4e52609 commit 58e7226
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
7 changes: 1 addition & 6 deletions crates/cdk-cli/src/sub_commands/create_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,7 @@ pub async fn create_request(

let payload: PaymentRequestPayload = serde_json::from_str(&rumor.content)?;

let token = Token::new(
payload.mint,
payload.proofs,
payload.memo,
Some(payload.unit),
);
let token = Token::new(payload.mint, payload.proofs, payload.memo, payload.unit);

let amount = multi_mint_wallet
.receive(&token.to_string(), &[], &[])
Expand Down
5 changes: 1 addition & 4 deletions crates/cdk-cli/src/sub_commands/pay_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,7 @@ pub async fn pay_request(
true,
)
.await?
.proofs()
.get(&matching_wallet.mint_url)
.unwrap()
.clone();
.proofs();

let payload = PaymentRequestPayload {
id: payment_request.payment_id.clone(),
Expand Down

0 comments on commit 58e7226

Please sign in to comment.