mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00:00
Fix active order shows on profile in Sending Satoshis status
This commit is contained in:
parent
c09e81a037
commit
718f42abf9
@ -73,7 +73,7 @@ class Logics:
|
||||
|
||||
# Edge case when the user is in an order that is failing payment and he is the buyer
|
||||
queryset = Order.objects.filter(Q(maker=user) | Q(taker=user),
|
||||
status=Order.Status.FAI)
|
||||
status__in=[Order.Status.FAI,Order.Status.PAY])
|
||||
if queryset.exists():
|
||||
order = queryset[0]
|
||||
if cls.is_buyer(order, user):
|
||||
|
Loading…
Reference in New Issue
Block a user