Skip to content

Commit

Permalink
Rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jklein24 committed Dec 22, 2023
1 parent b7dee85 commit 49180ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/uma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,8 @@ pub fn get_pay_req_response<T>(
where
T: UmaInvoiceCreator,
{
let msats_amount = (query.amount as f64 * conversion_rate).round() as i64 + receiver_fees_millisats;
let msats_amount =
(query.amount as f64 * conversion_rate).round() as i64 + receiver_fees_millisats;
let encoded_payer_data =
serde_json::to_string(&query.payer_data).map_err(Error::InvalidData)?;
let encoded_invoice = invoice_creator
Expand Down

0 comments on commit 49180ef

Please sign in to comment.