[bisq-network/bisq] Deactivate confirm buttons once mediation started (#4486)

chimp1984 notifications at github.com
Mon Sep 7 04:00:15 UTC 2020


@chimp1984 commented on this pull request.



> @@ -420,4 +420,14 @@ private void cleanupTradableOnFault() {
             }
         }
     }
+
+    protected boolean wasDisputed(ErrorMessageHandler errorMessageHandler) {
+        if (trade.getDisputeState() != Trade.DisputeState.NO_DISPUTE) {
+            String msg = "Dispute have been opened once. We do not allow anymore to confirm payment by button click.";
+            log.error(msg);

But maybe the method does too much. Should only return a boolean and not handle the true case. I will have a look and maybe add a commit to an open PR.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4486#discussion_r484171207
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200906/d7071928/attachment.html>


More information about the bisq-github mailing list