Skip to content

Commit

Permalink
Fix fmt lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgranhao committed Feb 27, 2025
1 parent d7395ba commit 840404a
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/swaps/liquid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,12 +556,16 @@ impl LBtcSwapTx {
let address = Address::from_str(output_address)?;
let (funding_outpoint, funding_utxo) = match swap_script.fetch_utxo(network_config).await {
Ok(Some(r)) => r,
Ok(None) | Err(_) => swap_script.fetch_lockup_utxo_boltz(
network_config,
&boltz_url,
&swap_id,
SwapTxKind::Refund,
).await?,
Ok(None) | Err(_) => {
swap_script
.fetch_lockup_utxo_boltz(
network_config,
&boltz_url,
&swap_id,
SwapTxKind::Refund,
)
.await?
}
};

let genesis_hash = network_config
Expand Down

0 comments on commit 840404a

Please sign in to comment.