Fix lint error.

2024-05-20_merge
tecnovert 8 months ago
parent e6c79a6743
commit a01202dcb2
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 1
      basicswap/basicswap.py

@ -156,6 +156,7 @@ MINPROTO_VERSION_ADAPTOR_SIG = 4
MINPROTO_VERSION = min(MINPROTO_VERSION_SECRET_HASH, MINPROTO_VERSION_ADAPTOR_SIG) MINPROTO_VERSION = min(MINPROTO_VERSION_SECRET_HASH, MINPROTO_VERSION_ADAPTOR_SIG)
MAXPROTO_VERSION = 10 MAXPROTO_VERSION = 10
def validOfferStateToReceiveBid(offer_state): def validOfferStateToReceiveBid(offer_state):
if offer_state == OfferStates.OFFER_RECEIVED: if offer_state == OfferStates.OFFER_RECEIVED:
return True return True

Loading…
Cancel
Save