mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-03 17:29:26 +00:00
Fix expired offer check.
This commit is contained in:
parent
bebbba49ff
commit
e90800884a
2 changed files with 2 additions and 1 deletions
|
@ -6998,7 +6998,7 @@ class BasicSwap(BaseApp):
|
||||||
offer_data.swap_type, coin_from, coin_to, offer_data.time_valid
|
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.")
|
self.log.debug("Ignoring expired offer.")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
- Mercy outputs on swipe txns of BTC descended coins.
|
- Mercy outputs on swipe txns of BTC descended coins.
|
||||||
- Disable by setting 'altruistic' to false in basicswap.json
|
- Disable by setting 'altruistic' to false in basicswap.json
|
||||||
- Removed sqlalchemy.
|
- Removed sqlalchemy.
|
||||||
|
- Incoming expired offers no longer raise an error.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue