From abc89a69d91b858faf3743ee31b8d52ea1cf80d2 Mon Sep 17 00:00:00 2001 From: patrini32 <171664803+patrini32@users.noreply.github.com> Date: Wed, 5 Jun 2024 23:31:21 +0300 Subject: [PATCH] better description --- 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 a1457095..ccdf4df9 100644 --- a/swap/src/cli/cancel_and_refund.rs +++ b/swap/src/cli/cancel_and_refund.rs @@ -131,7 +131,7 @@ pub async fn refund( { let state = BobState::BtcPunished { tx_lock_id: state6.tx_lock_id(), - }; // Set state to punished. + }; // Set state to punished, because timelock expired and in punished state. db.insert_latest_state(swap_id, state.clone().into()) .await?;