mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-22 19:49:20 +00:00
Change "Offer expired" from an error to a debug message.
This commit is contained in:
parent
33105a832f
commit
3ba2145cc9
1 changed files with 3 additions and 1 deletions
|
@ -7010,7 +7010,9 @@ class BasicSwap(BaseApp):
|
|||
offer_data.swap_type, coin_from, coin_to, offer_data.time_valid
|
||||
)
|
||||
|
||||
ensure(msg["sent"] + offer_data.time_valid >= now, "Offer expired")
|
||||
if msg["sent"] + offer_data.time_valid >= now:
|
||||
self.log.debug("Ignoring expired offer.")
|
||||
return
|
||||
|
||||
offer_rate: int = ci_from.make_int(
|
||||
offer_data.amount_to / offer_data.amount_from, r=1
|
||||
|
|
Loading…
Reference in a new issue