From a1a0a79154e29dcb291c41bc2f55793839af392d Mon Sep 17 00:00:00 2001 From: patrini32 <171664803+patrini32@users.noreply.github.com> Date: Wed, 12 Jun 2024 23:25:30 +0300 Subject: [PATCH] fix typo --- swap/src/cli/cancel_and_refund.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swap/src/cli/cancel_and_refund.rs b/swap/src/cli/cancel_and_refund.rs index b84c75e4..5ea660d8 100644 --- a/swap/src/cli/cancel_and_refund.rs +++ b/swap/src/cli/cancel_and_refund.rs @@ -70,7 +70,7 @@ pub async fn cancel( db.insert_latest_state(swap_id, state.clone().into()) .await?; tracing::info!("Cancel transaction has already been confirmed on chain"); - Ok((tx.txid(), state)); + Ok((tx.txid(), state)) } else if let ExpiredTimelocks::None { .. } = state6.expired_timelock(bitcoin_wallet.as_ref()).await? {