mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 11:39:29 +00:00
handle trade events during initialization
This commit is contained in:
parent
b18e9ad4bf
commit
74cd910705
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue