Merge pull request #380 from arcbtc/FastAPI
restored create invoice api endpoint
This commit is contained in:
@@ -50,7 +50,7 @@ async def create_invoice(
|
||||
webhook: Optional[str] = None,
|
||||
conn: Optional[Connection] = None,
|
||||
) -> Tuple[str, str]:
|
||||
if not memo:
|
||||
if memo == None:
|
||||
memo = "LN payment"
|
||||
invoice_memo = None if description_hash else memo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user