From 2134b63cea017ab6e571593cf7242e154d5e8829 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Fri, 2 Dec 2022 17:48:47 +0100 Subject: [PATCH] readd comments --- lnbits/core/crud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/core/crud.py b/lnbits/core/crud.py index e111abd5..9fdfa9ba 100644 --- a/lnbits/core/crud.py +++ b/lnbits/core/crud.py @@ -370,8 +370,8 @@ async def create_payment( ) -> Payment: # todo: add this when tests are fixed - previous_payment = await get_wallet_payment(wallet_id, payment_hash, conn=conn) - assert previous_payment is None, "Payment already exists" + # previous_payment = await get_wallet_payment(wallet_id, payment_hash, conn=conn) + # assert previous_payment is None, "Payment already exists" try: invoice = bolt11.decode(payment_request)