mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-27 19:20:32 -05:00
Utilize tracing's fields more
This commit is contained in:
parent
9119ce5cc4
commit
8f50eb2f34
3 changed files with 5 additions and 5 deletions
|
|
@ -150,8 +150,8 @@ async fn next_state(
|
|||
match received_xmr {
|
||||
Ok(()) => BobState::XmrLocked(state.xmr_locked(monero_wallet_restore_blockheight)),
|
||||
Err(monero::InsufficientFunds { expected, actual }) => {
|
||||
tracing::warn!("Insufficient Monero have been locked! Expected {} but got {}", expected, actual);
|
||||
tracing::info!("Waiting for cancel timelock ({}) to expire", state.cancel_timelock);
|
||||
tracing::warn!(%expected, %actual, "Insufficient Monero have been locked!");
|
||||
tracing::info!(timelock = %state.cancel_timelock, "Waiting for cancel timelock to expire");
|
||||
|
||||
tx_lock_status.wait_until_confirmed_with(state.cancel_timelock).await?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue