import multisig hex on trade thread when scheduled

This commit is contained in:
woodser 2025-04-09 08:38:53 -04:00
parent 15c97d9b1a
commit 8c37cfd531
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF

View file

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