invoke error handler once on trade failure

This commit is contained in:
woodser 2024-04-13 05:36:22 -04:00
parent b6a113b742
commit b86e916dcb

View file

@ -839,6 +839,7 @@ public abstract class TradeProtocol implements DecryptedDirectMessageListener, D
trade.setErrorMessage(errorMessage);
processModel.getTradeManager().requestPersistence();
if (errorMessageHandler != null) errorMessageHandler.handleErrorMessage(errorMessage);
errorMessageHandler = null;
unlatchTrade();
}