mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-22 23:25:22 +01:00
feat: add unit to PayInvoiceResponse
This commit is contained in:
@@ -200,8 +200,9 @@ impl MintLightning for Lnd {
|
||||
Ok(PayInvoiceResponse {
|
||||
payment_hash: hex::encode(payment_response.payment_hash),
|
||||
payment_preimage: Some(hex::encode(payment_response.payment_preimage)),
|
||||
status: MeltQuoteState::Pending,
|
||||
status: MeltQuoteState::Paid,
|
||||
total_spent: total_spent.into(),
|
||||
unit: CurrencyUnit::Sat,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user