From be88f57e09d056a7bef7684aa39e93b877f620c3 Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 4 Jan 2023 13:48:54 -0500 Subject: [PATCH] don't warn if trade wallet is null on poll --- core/src/main/java/bisq/core/trade/Trade.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/bisq/core/trade/Trade.java b/core/src/main/java/bisq/core/trade/Trade.java index 0dad7445..9fe6c467 100644 --- a/core/src/main/java/bisq/core/trade/Trade.java +++ b/core/src/main/java/bisq/core/trade/Trade.java @@ -1503,7 +1503,7 @@ public abstract class Trade implements Tradable, Model { } } } catch (Exception e) { - if (isInitialized) log.warn("Error polling trade wallet {}: {}", getId(), e.getMessage()); // TODO (monero-java): poller.isPolling() and then don't need to use isInitialized here as shutdown flag + if (isInitialized && getWallet() != null) log.warn("Error polling trade wallet {}: {}", getId(), e.getMessage()); // TODO (monero-java): poller.isPolling() and then don't need to use isInitialized here as shutdown flag } }