import multisig hex on trade thread when scheduled

This commit is contained in:
woodser 2025-04-09 08:38:53 -04:00 committed by woodser
parent 35eb65d173
commit fe1fb88ce0

View File

@ -1121,8 +1121,8 @@ public abstract class Trade extends XmrWalletBase implements Tradable, Model {
if (!isInitialized || isShutDownStarted) return;
synchronized (getLock()) {
if (processModel.isImportMultisigHexScheduled()) {
importMultisigHex();
processModel.setImportMultisigHexScheduled(false);
ThreadUtils.submitToPool(() -> importMultisigHex());
}
}
}, getId());