mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-20 07:56:05 -04:00
Update wallet.rs
This commit is contained in:
parent
bf4627314a
commit
611d09e5a2
@ -301,11 +301,10 @@ impl Wallet {
|
||||
}
|
||||
};
|
||||
|
||||
tracing::warn!(attempt=i, %height, %attempts_left, name = %self.name, %error, "Failed to sync Monero wallet");
|
||||
|
||||
if attempts_left == 0 {
|
||||
tracing::error!(name = %self.name, %height, %error, "Failed to sync Monero wallet");
|
||||
return Err(error.into());
|
||||
} else {
|
||||
tracing::warn!(attempt=i, %height, %attempts_left, name = %self.name, %error, "Failed to sync Monero wallet");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user