From 74cd9107051ca02a1faa4b15ebda649962c155d3 Mon Sep 17 00:00:00 2001 From: woodser Date: Mon, 6 Mar 2023 13:29:26 -0500 Subject: [PATCH] handle trade events during initialization --- core/src/main/java/bisq/core/trade/Trade.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/src/main/java/bisq/core/trade/Trade.java b/core/src/main/java/bisq/core/trade/Trade.java index aa3c91542d..ca2bff07f1 100644 --- a/core/src/main/java/bisq/core/trade/Trade.java +++ b/core/src/main/java/bisq/core/trade/Trade.java @@ -605,7 +605,6 @@ public abstract class Trade implements Tradable, Model { // handle trade state events tradePhaseSubscription = EasyBind.subscribe(phaseProperty, newValue -> { - if (!isInitialized) return; if (isDepositsPublished() && !isPayoutUnlocked()) updateWalletRefreshPeriod(); if (isCompleted()) { UserThread.execute(() -> { @@ -619,7 +618,6 @@ public abstract class Trade implements Tradable, Model { // handle payout state events payoutStateSubscription = EasyBind.subscribe(payoutStateProperty, newValue -> { - if (!isInitialized) return; if (isPayoutPublished()) updateWalletRefreshPeriod(); // cleanup when payout published