From 3e3f3085f885a5dd26455e98a3bb8bd965844d15 Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 25 Sep 2024 09:41:25 -0400 Subject: [PATCH] fix not enough signers on process payout tx --- .../haveno/core/support/SupportManager.java | 2 +- .../core/support/dispute/DisputeManager.java | 2 +- .../arbitration/ArbitrationManager.java | 2 +- .../java/haveno/core/trade/HavenoUtils.java | 16 ++++++++++---- .../main/java/haveno/core/trade/Trade.java | 21 ++++++++++--------- .../tasks/ProcessPaymentReceivedMessage.java | 3 ++- .../SellerPreparePaymentReceivedMessage.java | 4 ++-- 7 files changed, 30 insertions(+), 20 deletions(-) diff --git a/core/src/main/java/haveno/core/support/SupportManager.java b/core/src/main/java/haveno/core/support/SupportManager.java index d76154485d..10cbfdafaf 100644 --- a/core/src/main/java/haveno/core/support/SupportManager.java +++ b/core/src/main/java/haveno/core/support/SupportManager.java @@ -199,7 +199,7 @@ public abstract class SupportManager { if (dispute.isClosed()) dispute.reOpen(); trade.advanceDisputeState(Trade.DisputeState.DISPUTE_OPENED); } else if (dispute.isClosed()) { - trade.pollWalletNormallyForMs(30000); // sync to check for payout + trade.pollWalletNormallyForMs(60000); // sync to check for payout } } } diff --git a/core/src/main/java/haveno/core/support/dispute/DisputeManager.java b/core/src/main/java/haveno/core/support/dispute/DisputeManager.java index bd124fda1f..eb49e0c509 100644 --- a/core/src/main/java/haveno/core/support/dispute/DisputeManager.java +++ b/core/src/main/java/haveno/core/support/dispute/DisputeManager.java @@ -854,7 +854,7 @@ public abstract class DisputeManager> extends Sup // the state, as that is displayed to the user and we only persist that msg disputeResult.getChatMessage().setArrived(true); trade.advanceDisputeState(Trade.DisputeState.ARBITRATOR_SAW_ARRIVED_DISPUTE_CLOSED_MSG); - trade.pollWalletNormallyForMs(30000); + trade.pollWalletNormallyForMs(60000); requestPersistence(trade); resultHandler.handleResult(); } diff --git a/core/src/main/java/haveno/core/support/dispute/arbitration/ArbitrationManager.java b/core/src/main/java/haveno/core/support/dispute/arbitration/ArbitrationManager.java index 719ac46284..50be387c76 100644 --- a/core/src/main/java/haveno/core/support/dispute/arbitration/ArbitrationManager.java +++ b/core/src/main/java/haveno/core/support/dispute/arbitration/ArbitrationManager.java @@ -361,7 +361,7 @@ public final class ArbitrationManager extends DisputeManager