mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-19 21:28:46 -04:00
avoid persisting when maybe sending deposits confirmed message
This commit is contained in:
parent
870630b381
commit
c197ffb282
3 changed files with 26 additions and 2 deletions
|
@ -863,9 +863,9 @@ public abstract class TradeProtocol implements DecryptedDirectMessageListener, D
|
|||
}
|
||||
|
||||
public void maybeSendDepositsConfirmedMessages() {
|
||||
if (trade.isShutDownStarted()) return;
|
||||
synchronized (trade) {
|
||||
if (!trade.isInitialized()) return; // skip if shutting down
|
||||
if (trade.isDepositsConfirmedAcked()) return;
|
||||
if (!trade.isInitialized() || trade.isShutDownStarted()) return; // skip if shutting down
|
||||
latchTrade();
|
||||
expect(new Condition(trade))
|
||||
.setup(tasks(getDepositsConfirmedTasks())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue