log warning on missing trade wallet

This commit is contained in:
woodser 2023-04-20 11:24:12 -04:00
parent 0c3761b172
commit aea831bafd

View file

@ -688,6 +688,7 @@ public abstract class Trade implements Tradable, Model {
// sync wallet if applicable
if (!isDepositRequested() || isPayoutUnlocked()) return;
if (!walletExists()) log.warn("Missing trade wallet for {} {}", getClass().getSimpleName(), getId());
if (xmrWalletService.getConnectionsService().getConnection() == null || Boolean.FALSE.equals(xmrWalletService.getConnectionsService().isConnected())) return;
updateSyncing();
}