Always use csv with adaptor sig swaps.

This commit is contained in:
tecnovert
2023-11-30 18:16:24 +02:00
parent c387bfec71
commit ce578f8025
3 changed files with 8 additions and 4 deletions

View File

@@ -4706,7 +4706,7 @@ class BasicSwap(BaseApp):
bid_id = bid_accept_data.bid_msg_id
bid, offer = self.getBidAndOffer(bid_id)
ensure(bid is not None and bid.was_sent is True, 'Unknown bidid')
ensure(bid is not None and bid.was_sent is True, 'Unknown bid_id')
ensure(offer, 'Offer not found ' + bid.offer_id.hex())
ensure(bid.expire_at > now + self._bid_expired_leeway, 'Bid expired')