Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgranhao committed Jan 21, 2025
1 parent 85ea5fb commit 0272c12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/core/src/sdk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2204,8 +2204,8 @@ impl LiquidSdk {
/// * `req` - the [PrepareRefundRequest] containing:
/// * `swap_address` - the swap address to refund from [RefundableSwap::swap_address]
/// * `refund_address` - the Bitcoin address to refund to. To ensure a valid address is
/// provided, user input should be validated using [LiquidSdk::parse], and `refund_address`
/// should be obtained from the [BitcoinAddressData] in [InputType::BitcoinAddress].
/// provided, user input should be validated using [LiquidSdk::parse], and `refund_address`
/// should be obtained from the [BitcoinAddressData] in [InputType::BitcoinAddress].
/// * `fee_rate_sat_per_vbyte` - the fee rate at which to broadcast the refund transaction
pub async fn prepare_refund(
&self,
Expand Down Expand Up @@ -2233,8 +2233,8 @@ impl LiquidSdk {
/// * `req` - the [RefundRequest] containing:
/// * `swap_address` - the swap address to refund from [RefundableSwap::swap_address]
/// * `refund_address` - the Bitcoin address to refund to. To ensure a valid address is
/// provided, user input should be validated using [LiquidSdk::parse], and `refund_address`
/// should be obtained from the [BitcoinAddressData] in [InputType::BitcoinAddress].
/// provided, user input should be validated using [LiquidSdk::parse], and `refund_address`
/// should be obtained from the [BitcoinAddressData] in [InputType::BitcoinAddress].
/// * `fee_rate_sat_per_vbyte` - the fee rate at which to broadcast the refund transaction
pub async fn refund(&self, req: &RefundRequest) -> Result<RefundResponse, PaymentError> {
let refund_tx_id = self
Expand Down

0 comments on commit 0272c12

Please sign in to comment.