From cf2422f924cfaa05ddf048b72175889849b4757b Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Sat, 8 Jan 2022 12:14:19 -0800 Subject: [PATCH] Small fixes --- api/logics.py | 2 -- frontend/src/components/OrderPage.js | 2 +- frontend/src/components/UserGenPage.js | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/api/logics.py b/api/logics.py index 83b06a90..ec56372f 100644 --- a/api/logics.py +++ b/api/logics.py @@ -269,11 +269,9 @@ class Logics(): @classmethod def gen_escrow_hodl_invoice(cls, order, user): # Do not generate and cancel if an invoice is there and older than X minutes and unpaid still - print('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA') if order.trade_escrow: # Check if status is INVGEN and still not expired if order.trade_escrow.status == LNPayment.Status.INVGEN: - print('CCCCCCCCCCCCCCCCCCC') if order.trade_escrow.created_at > (timezone.now()+timedelta(minutes=EXP_TRADE_ESCR_INVOICE)): # Expired cls.cancel_order(order, user, 4) # State 4, cancel order before trade escrow locked return False, {'bad_request':'Invoice expired. You did not lock the trade escrow in time.'} diff --git a/frontend/src/components/OrderPage.js b/frontend/src/components/OrderPage.js index f0dcb309..e7196d1a 100644 --- a/frontend/src/components/OrderPage.js +++ b/frontend/src/components/OrderPage.js @@ -151,7 +151,7 @@ export default class OrderPage extends Component { - BTC {this.state.type ? " Sell " : " Buy "} Order + {this.state.type ? "Sell " : "Buy "} Order Details diff --git a/frontend/src/components/UserGenPage.js b/frontend/src/components/UserGenPage.js index 060ca5a5..fd80749c 100644 --- a/frontend/src/components/UserGenPage.js +++ b/frontend/src/components/UserGenPage.js @@ -143,7 +143,7 @@ export default class UserGenPage extends Component { - Easy and Private Lightning peer-to-peer Exchange + Simple and Private Lightning peer-to-peer Exchange