Fix expired offer check.

This commit is contained in:
tecnovert 2024-11-26 10:50:21 +02:00
parent bebbba49ff
commit e90800884a
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93
2 changed files with 2 additions and 1 deletions

View file

@ -6998,7 +6998,7 @@ class BasicSwap(BaseApp):
offer_data.swap_type, coin_from, coin_to, offer_data.time_valid
)
if msg["sent"] + offer_data.time_valid >= now:
if msg["sent"] + offer_data.time_valid < now:
self.log.debug("Ignoring expired offer.")
return

View file

@ -6,6 +6,7 @@
- Mercy outputs on swipe txns of BTC descended coins.
- Disable by setting 'altruistic' to false in basicswap.json
- Removed sqlalchemy.
- Incoming expired offers no longer raise an error.