save multisig wallet on same thread when initialized

This commit is contained in:
woodser 2024-09-12 13:28:33 -04:00
parent 2a9bc87f65
commit 0ed640be16

View File

@ -129,7 +129,7 @@ public class ProcessInitMultisigRequest extends TradeTask {
// set final address and save // set final address and save
processModel.setMultisigAddress(result.getAddress()); processModel.setMultisigAddress(result.getAddress());
new Thread(() -> trade.saveWallet()).start(); // save off thread on completion trade.saveWallet();
trade.setStateIfValidTransitionTo(Trade.State.MULTISIG_COMPLETED); trade.setStateIfValidTransitionTo(Trade.State.MULTISIG_COMPLETED);
} }