do not await updating trade state properties on trade thread

This commit is contained in:
woodser 2025-04-21 17:39:47 -04:00 committed by woodser
parent 9a14d5552e
commit 923b3ad73b

View File

@ -1852,7 +1852,7 @@ public abstract class Trade extends XmrWalletBase implements Tradable, Model {
this.state = state;
requestPersistence();
UserThread.await(() -> {
UserThread.execute(() -> {
stateProperty.set(state);
phaseProperty.set(state.getPhase());
});
@ -1884,7 +1884,7 @@ public abstract class Trade extends XmrWalletBase implements Tradable, Model {
this.payoutState = payoutState;
requestPersistence();
UserThread.await(() -> payoutStateProperty.set(payoutState));
UserThread.execute(() -> payoutStateProperty.set(payoutState));
}
public void setDisputeState(DisputeState disputeState) {