mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-27 08:19:41 -05:00
reset address entries off thread on close take offer
This commit is contained in:
parent
64081b684c
commit
b63227e8db
@ -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 New Issue
Block a user