From 2824ebc893958513539363da17bfa905d5ed1223 Mon Sep 17 00:00:00 2001 From: binarybaron <86064887+binarybaron@users.noreply.github.com> Date: Wed, 3 Jul 2024 20:39:49 +0200 Subject: [PATCH] Update swap.rs --- swap/src/protocol/bob/swap.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/swap/src/protocol/bob/swap.rs b/swap/src/protocol/bob/swap.rs index f758ab03..55174d3a 100644 --- a/swap/src/protocol/bob/swap.rs +++ b/swap/src/protocol/bob/swap.rs @@ -310,14 +310,16 @@ async fn next_state( } BobState::BtcRefunded(state4) => BobState::BtcRefunded(state4), BobState::BtcPunished { state, tx_lock_id } => { - tracing::info!("Attempting cooperative XMR redeem"); + tracing::info!("Attempting to cooperatively redeem XMR after being punished"); let response = event_loop_handle .request_cooperative_xmr_redeem(swap_id) .await; match response { Ok(Fullfilled { s_a, .. }) => { - tracing::debug!("Alice revealed XMR key to us"); + tracing::info!( + "Alice has accepted our request to cooperatively redeem the XMR" + ); let s_a = monero::PrivateKey { scalar: s_a }; let state5 = state.attempt_cooperative_redeem(s_a);