From cce7c204f34b116592ac09b1ca2d534d52c22533 Mon Sep 17 00:00:00 2001
From: woodser <13068859+woodser@users.noreply.github.com>
Date: Tue, 18 Mar 2025 19:10:56 -0400
Subject: [PATCH] enable resending payment received msgs based on offer
 protocol version

---
 .../main/java/haveno/core/trade/protocol/SellerProtocol.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/core/src/main/java/haveno/core/trade/protocol/SellerProtocol.java b/core/src/main/java/haveno/core/trade/protocol/SellerProtocol.java
index 021de47450..2a01c5a2ca 100644
--- a/core/src/main/java/haveno/core/trade/protocol/SellerProtocol.java
+++ b/core/src/main/java/haveno/core/trade/protocol/SellerProtocol.java
@@ -54,8 +54,6 @@ import lombok.extern.slf4j.Slf4j;
 @Slf4j
 public class SellerProtocol extends DisputeProtocol {
     
-    private static final long RESEND_PAYMENT_RECEIVED_MSGS_AFTER = 1741629525730L; // Mar 10 2025 17:58 UTC
-
     enum SellerEvent implements FluentProtocol.Event {
         STARTUP,
         DEPOSIT_TXS_CONFIRMED,
@@ -100,7 +98,7 @@ public class SellerProtocol extends DisputeProtocol {
     }
 
     private boolean resendPaymentReceivedMessagesEnabled() {
-        return trade.getTakeOfferDate().getTime() > RESEND_PAYMENT_RECEIVED_MSGS_AFTER;
+        return trade.getOffer().getOfferPayload().getProtocolVersion() >= 2;
     }
 
     @Override