return proper error codes on /lnurlscan

so the notification works.
This commit is contained in:
fiatjaf
2020-10-20 23:19:23 -03:00
parent 52619ecc0f
commit 85ec111ff0
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ from .crud import get_wallet, create_payment, delete_payment, check_internal, up
def create_invoice(
*,
wallet_id: str,
amount: int,
amount: int, # in satoshis
memo: str,
description_hash: Optional[bytes] = None,
extra: Optional[Dict] = None,