readd comments
This commit is contained in:
+2
-2
@@ -370,8 +370,8 @@ async def create_payment(
|
|||||||
) -> Payment:
|
) -> Payment:
|
||||||
|
|
||||||
# todo: add this when tests are fixed
|
# todo: add this when tests are fixed
|
||||||
previous_payment = await get_wallet_payment(wallet_id, payment_hash, conn=conn)
|
# previous_payment = await get_wallet_payment(wallet_id, payment_hash, conn=conn)
|
||||||
assert previous_payment is None, "Payment already exists"
|
# assert previous_payment is None, "Payment already exists"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
invoice = bolt11.decode(payment_request)
|
invoice = bolt11.decode(payment_request)
|
||||||
|
|||||||
Reference in New Issue
Block a user