From b17c92749475f7558fb4834e3e5b2480200948e5 Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 13 Nov 2024 12:44:42 -0500 Subject: [PATCH] new dispute state is considered open --- core/src/main/java/haveno/core/support/dispute/Dispute.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/haveno/core/support/dispute/Dispute.java b/core/src/main/java/haveno/core/support/dispute/Dispute.java index 268cb3e272..d904796e34 100644 --- a/core/src/main/java/haveno/core/support/dispute/Dispute.java +++ b/core/src/main/java/haveno/core/support/dispute/Dispute.java @@ -467,7 +467,7 @@ public final class Dispute implements NetworkPayload, PersistablePayload { } public boolean isOpen() { - return this.disputeState == State.OPEN || this.disputeState == State.REOPENED; + return isNew() || this.disputeState == State.OPEN || this.disputeState == State.REOPENED; } public boolean isClosed() { @@ -494,6 +494,8 @@ public final class Dispute implements NetworkPayload, PersistablePayload { public void setDisputeSeen(boolean senderFlag) { if (this.disputeState == State.NEW) setState(State.OPEN); + log.warn("Setting dispute seen"); + Thread.dumpStack(); refreshAlertLevel(senderFlag); }