readd comments
This commit is contained in:
parent
1a98f15d48
commit
2134b63cea
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue