This commit is contained in:
patrini32 2024-06-12 23:13:59 +03:00 committed by patrini32
parent e8ed4250f2
commit 8cf2f1f22b

View File

@ -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))