Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
dangeross committed Nov 10, 2024
1 parent 70c92d7 commit 81ad0fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/core/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ pub struct PrepareSendRequest {
pub destination: String,

/// Should only be set when paying directly onchain or to a BIP21 URI
/// where no amount is specified
/// where no amount is specified, or when the caller wishes to drain
pub amount: Option<PayOnchainAmount>,
}

Expand Down
2 changes: 1 addition & 1 deletion lib/core/src/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ impl LiquidSdk {
}
}

/// Estimate the lockup tx fee
/// Estimate the lockup tx fee for Send and Chain Send swaps
async fn estimate_lockup_tx_fee(
&self,
user_lockup_amount_sat: u64,
Expand Down
2 changes: 1 addition & 1 deletion packages/dart/lib/src/model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ class PrepareSendRequest {
final String destination;

/// Should only be set when paying directly onchain or to a BIP21 URI
/// where no amount is specified
/// where no amount is specified, or when the caller wishes to drain
final PayOnchainAmount? amount;

const PrepareSendRequest({
Expand Down

0 comments on commit 81ad0fb

Please sign in to comment.