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:
|
) -> 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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue