mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-11 17:19:45 -04:00
better log messages
This commit is contained in:
parent
132836aaa7
commit
33ebd74ac0
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ pub async fn cancel(
|
|||
let state = BobState::BtcCancelled(state6);
|
||||
db.insert_latest_state(swap_id, state.clone().into())
|
||||
.await?;
|
||||
tracing::info!("Cancel transaction has already been confirmed on chain.");
|
||||
tracing::info!("Cancel transaction has already been confirmed on chain");
|
||||
return Ok((tx.txid(), state));
|
||||
}
|
||||
if let ExpiredTimelocks::None { .. } =
|
||||
|
@ -137,7 +137,7 @@ pub async fn refund(
|
|||
db.insert_latest_state(swap_id, state.clone().into())
|
||||
.await?;
|
||||
|
||||
tracing::info!("Cannot refund because BTC is punished.");
|
||||
tracing::info!("Cannot refund because BTC punish timelock expired");
|
||||
return Ok(state);
|
||||
}
|
||||
bail!(error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue