mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 10:28:10 +01:00
Fix expired offer check.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user