mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-04 21:29:48 -04:00
fix deadlock by setting offer error message property on calling thread
This commit is contained in:
parent
f1c09161f4
commit
a30b41de4b
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@
|
|||
package haveno.core.offer;
|
||||
|
||||
import haveno.common.ThreadUtils;
|
||||
import haveno.common.UserThread;
|
||||
import haveno.common.crypto.KeyRing;
|
||||
import haveno.common.crypto.PubKeyRing;
|
||||
import haveno.common.handlers.ErrorMessageHandler;
|
||||
|
@ -281,7 +280,7 @@ public class Offer implements NetworkPayload, PersistablePayload {
|
|||
}
|
||||
|
||||
public void setErrorMessage(String errorMessage) {
|
||||
UserThread.await(() -> errorMessageProperty.set(errorMessage));
|
||||
errorMessageProperty.set(errorMessage);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue