mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 11:26:24 +00:00
Fix unreproducible bug (at least try) when order does not advance into CHA status.
This commit is contained in:
parent
860b3c136b
commit
f8e879a3f7
@ -1223,6 +1223,7 @@ class Logics:
|
|||||||
@classmethod
|
@classmethod
|
||||||
def is_trade_escrow_locked(cls, order):
|
def is_trade_escrow_locked(cls, order):
|
||||||
if order.trade_escrow.status == LNPayment.Status.LOCKED:
|
if order.trade_escrow.status == LNPayment.Status.LOCKED:
|
||||||
|
cls.trade_escrow_received(order)
|
||||||
return True
|
return True
|
||||||
elif LNNode.validate_hold_invoice_locked(order.trade_escrow):
|
elif LNNode.validate_hold_invoice_locked(order.trade_escrow):
|
||||||
cls.trade_escrow_received(order)
|
cls.trade_escrow_received(order)
|
||||||
|
Loading…
Reference in New Issue
Block a user