Skip to content

Commit

Permalink
remove trade after cleared and shut down
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Feb 26, 2024
1 parent 2c0275e commit 98ffb5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/haveno/core/trade/TradeManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -1311,13 +1311,13 @@ private void removeTradeOnError(Trade trade) {
if (trade instanceof MakerTrade && openOffer.isPresent()) {
openOfferManager.unreserveOpenOffer(openOffer.get());
}

// remove trade from list
removeTrade(trade);
}

// clear and shut down trade
trade.clearAndShutDown();

// remove trade from list
removeTrade(trade);
}

private void listenForCleanup(Trade trade) {
Expand Down

0 comments on commit 98ffb5f

Please sign in to comment.