mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-04 01:53:59 +01:00
remove restriction for positive amount to check outgoing payments (#500)
This commit is contained in:
parent
9505958306
commit
b4d00a490b
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ async def get_standalone_payment(
|
|||
"""
|
||||
SELECT *
|
||||
FROM apipayments
|
||||
WHERE (checking_id = ? OR hash = ?) AND amount > 0 -- only the incoming payment
|
||||
WHERE checking_id = ? OR hash = ?
|
||||
LIMIT 1
|
||||
""",
|
||||
(checking_id_or_hash, checking_id_or_hash),
|
||||
|
|
Loading…
Add table
Reference in a new issue