From b86e916dcb2b258566122725dfc0d5fcd6acf520 Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 13 Apr 2024 05:36:22 -0400 Subject: [PATCH] invoke error handler once on trade failure --- core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java b/core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java index 7205ac00..699ef8db 100644 --- a/core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java +++ b/core/src/main/java/haveno/core/trade/protocol/TradeProtocol.java @@ -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(); }