readd comments

This commit is contained in:
callebtc 2022-12-02 17:48:47 +01:00
parent 1a98f15d48
commit 2134b63cea

View file

@ -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)