fix: column is called hash, not payment_hash.
This commit is contained in:
parent
d62031b068
commit
ab6229806c
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ def delete_expired_invoices() -> None:
|
|||
db.execute(
|
||||
"""
|
||||
DELETE FROM apipayments
|
||||
WHERE pending = 1 AND payment_hash = ?
|
||||
WHERE pending = 1 AND hash = ?
|
||||
""",
|
||||
(invoice.payment_hash,),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue