mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-05 15:49:23 +00:00
invoke error handler once on trade failure
This commit is contained in:
parent
b6a113b742
commit
b86e916dcb
1 changed files with 1 additions and 0 deletions
|
@ -839,6 +839,7 @@ public abstract class TradeProtocol implements DecryptedDirectMessageListener, D
|
||||||
trade.setErrorMessage(errorMessage);
|
trade.setErrorMessage(errorMessage);
|
||||||
processModel.getTradeManager().requestPersistence();
|
processModel.getTradeManager().requestPersistence();
|
||||||
if (errorMessageHandler != null) errorMessageHandler.handleErrorMessage(errorMessage);
|
if (errorMessageHandler != null) errorMessageHandler.handleErrorMessage(errorMessage);
|
||||||
|
errorMessageHandler = null;
|
||||||
unlatchTrade();
|
unlatchTrade();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue