Skip to content

Commit

Permalink
fix(NUT18): feild docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimplekid committed Apr 13, 2024
1 parent ff2c908 commit dceb7e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/cdk/src/nuts/nut18.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ use crate::{Amount, Bolt11Invoice};
/// Melt quote request [NUT-18]
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct MeltQuoteBtcOnchainRequest {
/// Bitcoin onchain address to be paid
/// Amount to be paid
pub amount: Amount,
/// Bolt11 invoice to be paid
/// Bitcoin onchain address to be paid
pub address: Bolt11Invoice,
/// Unit wallet would like to pay with
pub unit: CurrencyUnit,
Expand Down Expand Up @@ -57,7 +57,7 @@ impl MeltBtcOnchianRequest {
pub struct MeltBtcOnChainResponse {
/// Indicate if payment was successful
pub paid: bool,
/// Bolt11 preimage
// TXID
pub txid: Option<String>,
}

Expand Down

0 comments on commit dceb7e7

Please sign in to comment.