mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-29 02:01:35 +02:00
remove restriction for positive amount to check outgoing payments (#500)
This commit is contained in:
@ -185,7 +185,7 @@ async def get_standalone_payment(
|
|||||||
"""
|
"""
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM apipayments
|
FROM apipayments
|
||||||
WHERE (checking_id = ? OR hash = ?) AND amount > 0 -- only the incoming payment
|
WHERE checking_id = ? OR hash = ?
|
||||||
LIMIT 1
|
LIMIT 1
|
||||||
""",
|
""",
|
||||||
(checking_id_or_hash, checking_id_or_hash),
|
(checking_id_or_hash, checking_id_or_hash),
|
||||||
|
Reference in New Issue
Block a user