fix: lnbits funding source (#2319)

fix a bug where payments are deleted
This commit is contained in:
dni ⚡ 2024-03-12 11:28:42 +01:00 committed by GitHub
parent e3b9bd6a70
commit 16cb1a8026
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions

View file

@ -763,7 +763,7 @@ async def test_pay_hold_invoice_check_pending_and_fail_cancel_payment_task_in_me
# status should still be available and be False
status = await payment_db.check_status()
assert status.paid is False
assert not status.paid
# now the payment should be gone after the status check
# payment_db_after_status_check = await get_standalone_payment(