mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-03 14:49:25 +00:00
reset address entries off thread on close take offer
This commit is contained in:
parent
64081b684c
commit
b63227e8db
1 changed files with 4 additions and 1 deletions
|
@ -18,6 +18,8 @@
|
||||||
package haveno.desktop.main.offer.takeoffer;
|
package haveno.desktop.main.offer.takeoffer;
|
||||||
|
|
||||||
import com.google.inject.Inject;
|
import com.google.inject.Inject;
|
||||||
|
|
||||||
|
import haveno.common.ThreadUtils;
|
||||||
import haveno.common.handlers.ErrorMessageHandler;
|
import haveno.common.handlers.ErrorMessageHandler;
|
||||||
import haveno.core.account.witness.AccountAgeWitnessService;
|
import haveno.core.account.witness.AccountAgeWitnessService;
|
||||||
import haveno.core.filter.FilterManager;
|
import haveno.core.filter.FilterManager;
|
||||||
|
@ -221,7 +223,8 @@ class TakeOfferDataModel extends OfferDataModel {
|
||||||
offerBook.removeOffer(checkNotNull(offer));
|
offerBook.removeOffer(checkNotNull(offer));
|
||||||
}
|
}
|
||||||
|
|
||||||
xmrWalletService.resetAddressEntriesForOpenOffer(offer.getId());
|
// reset address entries off thread
|
||||||
|
ThreadUtils.submitToPool(() -> xmrWalletService.resetAddressEntriesForOpenOffer(offer.getId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue