fix: payment extra and payment hash

This commit is contained in:
Vlad Stan
2024-10-17 10:40:32 +02:00
committed by dni ⚡
parent e4416878c2
commit 06a686a2f6
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -773,7 +773,7 @@ async def update_payment_extra(
row: dict = await (conn or db).fetchone(
f"""
SELECT payment_hash, extra from apipayments WHERE hash = :hash {amount_clause}
SELECT payment_hash, extra from apipayments WHERE payment_hash = :hash {amount_clause}
""",
{"hash": payment_hash},
)