mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-20 21:58:57 -04:00
enable resending payment received msgs based on offer protocol version
This commit is contained in:
parent
028ced7021
commit
a7d8e4560f
1 changed files with 1 additions and 3 deletions
|
@ -54,8 +54,6 @@ import lombok.extern.slf4j.Slf4j;
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class SellerProtocol extends DisputeProtocol {
|
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 {
|
enum SellerEvent implements FluentProtocol.Event {
|
||||||
STARTUP,
|
STARTUP,
|
||||||
DEPOSIT_TXS_CONFIRMED,
|
DEPOSIT_TXS_CONFIRMED,
|
||||||
|
@ -100,7 +98,7 @@ public class SellerProtocol extends DisputeProtocol {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean resendPaymentReceivedMessagesEnabled() {
|
private boolean resendPaymentReceivedMessagesEnabled() {
|
||||||
return trade.getTakeOfferDate().getTime() > RESEND_PAYMENT_RECEIVED_MSGS_AFTER;
|
return trade.getOffer().getOfferPayload().getProtocolVersion() >= 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue