mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-22 20:19:21 +00:00
remove warning that wallet is not synced when idling
This commit is contained in:
parent
dee5a11e63
commit
fd4e4d3917
1 changed files with 1 additions and 1 deletions
|
@ -1922,7 +1922,7 @@ public abstract class Trade implements Tradable, Model {
|
||||||
// log warning if wallet is too far behind daemon
|
// log warning if wallet is too far behind daemon
|
||||||
MoneroDaemonInfo lastInfo = xmrWalletService.getConnectionService().getLastInfo();
|
MoneroDaemonInfo lastInfo = xmrWalletService.getConnectionService().getLastInfo();
|
||||||
long walletHeight = wallet.getHeight();
|
long walletHeight = wallet.getHeight();
|
||||||
if (wasWalletSynced && isDepositsPublished() && lastInfo != null && walletHeight < lastInfo.getHeight() - 3 && !Config.baseCurrencyNetwork().isTestnet()) {
|
if (wasWalletSynced && isDepositsPublished() && !isIdling() && lastInfo != null && walletHeight < lastInfo.getHeight() - 3 && !Config.baseCurrencyNetwork().isTestnet()) {
|
||||||
log.warn("Wallet is more than 3 blocks behind monerod for {} {}, wallet height={}, monerod height={},", getClass().getSimpleName(), getShortId(), walletHeight, lastInfo.getHeight());
|
log.warn("Wallet is more than 3 blocks behind monerod for {} {}, wallet height={}, monerod height={},", getClass().getSimpleName(), getShortId(), walletHeight, lastInfo.getHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue