1
0

follow-up prev:

- detect payment of requests both onchain or LN
 - create single type of requests in GUI
This commit is contained in:
ThomasV
2022-03-29 18:17:38 +02:00
parent e392197ab9
commit 7102fb732e
7 changed files with 97 additions and 84 deletions

View File

@@ -913,8 +913,7 @@ class Commands:
return False
amount = satoshis(amount)
expiration = int(expiration) if expiration else None
req = wallet.make_payment_request(addr, amount, memo, expiration)
wallet.add_payment_request(req)
req = wallet.create_request(amount, memo, expiration, addr, False)
return wallet.export_request(req)
@command('wnl')