mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-11-16 15:58:08 +00:00
new dispute state is considered open
This commit is contained in:
parent
5f29e7e1a6
commit
b17c927494
1 changed files with 3 additions and 1 deletions
|
@ -467,7 +467,7 @@ public final class Dispute implements NetworkPayload, PersistablePayload {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOpen() {
|
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() {
|
public boolean isClosed() {
|
||||||
|
@ -494,6 +494,8 @@ public final class Dispute implements NetworkPayload, PersistablePayload {
|
||||||
public void setDisputeSeen(boolean senderFlag) {
|
public void setDisputeSeen(boolean senderFlag) {
|
||||||
if (this.disputeState == State.NEW)
|
if (this.disputeState == State.NEW)
|
||||||
setState(State.OPEN);
|
setState(State.OPEN);
|
||||||
|
log.warn("Setting dispute seen");
|
||||||
|
Thread.dumpStack();
|
||||||
refreshAlertLevel(senderFlag);
|
refreshAlertLevel(senderFlag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue