mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-21 12:49:02 +00:00
Fix linear determinate countdown timer bug when waiting for escrow
This commit is contained in:
parent
5ed4245298
commit
f4cd676d2b
@ -501,8 +501,8 @@ class Order(models.Model):
|
|||||||
4: 0, # 'Cancelled'
|
4: 0, # 'Cancelled'
|
||||||
5: 0, # 'Expired'
|
5: 0, # 'Expired'
|
||||||
6: int(self.escrow_duration), # 'Waiting for trade collateral and buyer invoice'
|
6: int(self.escrow_duration), # 'Waiting for trade collateral and buyer invoice'
|
||||||
7: 60 * int(config("INVOICE_AND_ESCROW_DURATION")), # 'Waiting only for seller trade collateral'
|
7: int(self.escrow_duration), # 'Waiting only for seller trade collateral'
|
||||||
8: 60 * int(config("INVOICE_AND_ESCROW_DURATION")), # 'Waiting only for buyer invoice'
|
8: int(self.escrow_duration), # 'Waiting only for buyer invoice'
|
||||||
9: 60 * 60 * int(config("FIAT_EXCHANGE_DURATION")), # 'Sending fiat - In chatroom'
|
9: 60 * 60 * int(config("FIAT_EXCHANGE_DURATION")), # 'Sending fiat - In chatroom'
|
||||||
10: 60 * 60 * int(config("FIAT_EXCHANGE_DURATION")),# 'Fiat sent - In chatroom'
|
10: 60 * 60 * int(config("FIAT_EXCHANGE_DURATION")),# 'Fiat sent - In chatroom'
|
||||||
11: 1 * 24 * 60 * 60, # 'In dispute'
|
11: 1 * 24 * 60 * 60, # 'In dispute'
|
||||||
|
Loading…
Reference in New Issue
Block a user