mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-03-26 17:19:04 +00:00
enable resending payment received msgs based on offer protocol version
This commit is contained in:
parent
0896e10d97
commit
cce7c204f3
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue