mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-19 11:48:18 -04:00
update offer state on same thread to fix blocking
This commit is contained in:
parent
6fea58c197
commit
59fbd805a5
4 changed files with 76 additions and 70 deletions
|
@ -265,7 +265,7 @@ public class Offer implements NetworkPayload, PersistablePayload {
|
|||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
public void setState(Offer.State state) {
|
||||
UserThread.await(() -> stateProperty().set(state));
|
||||
stateProperty.set(state);
|
||||
}
|
||||
|
||||
public ObjectProperty<Offer.State> stateProperty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue