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

@@ -278,6 +278,7 @@ class SwapManager(Logger):
amount_msat=lightning_amount_sat * 1000,
message='swap',
expiry=3600 * 24,
fallback_address=None,
)
payment_hash = lnaddr.paymenthash
preimage = self.lnworker.get_preimage(payment_hash)