From 8cf2f1f22bec0b3f52bb4bcd2d2444225c70c971 Mon Sep 17 00:00:00 2001 From: patrini32 <171664803+patrini32@users.noreply.github.com> Date: Wed, 12 Jun 2024 23:13:59 +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 12588ca6..a00f721a 100644 --- a/swap/src/cli/cancel_and_refund.rs +++ b/swap/src/cli/cancel_and_refund.rs @@ -83,7 +83,7 @@ pub async fn cancel( tracing::info!("General error trying to submit cancel transaction"); } let state = BobState::BtcCancelled(state6); - let txid = state6.construct_tx_cancel().txid(); + let txid = state6.construct_tx_cancel()?.txid(); db.insert_latest_state(swap_id, state.clone().into()) .await?; Ok((txid, state))