Skip to content

Commit

Permalink
Return invoice and preimage in notification
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Mar 26, 2024
1 parent 040553d commit 9598541
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/invoice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ async fn notify_user(
"federation_id": invoice.federation_id,
"tweak_index": invoice.user_invoice_index,
"amount": invoice.amount,
"bolt11": invoice.bolt11,
"preimage": invoice.preimage,
"zap_request": zap.as_ref().map(|z| z.request.clone()),
})
.to_string(),
Expand Down

0 comments on commit 9598541

Please sign in to comment.