SomberNight
3 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
1 deletions
-
electrum/submarine_swaps.py
|
|
@ -253,7 +253,7 @@ class SwapManager(Logger): |
|
|
|
assert self.lnwatcher |
|
|
|
privkey = os.urandom(32) |
|
|
|
pubkey = ECPrivkey(privkey).get_public_key_bytes(compressed=True) |
|
|
|
lnaddr, invoice = await self.lnworker.create_invoice( |
|
|
|
lnaddr, invoice = self.lnworker.create_invoice( |
|
|
|
amount_msat=lightning_amount_sat * 1000, |
|
|
|
message='swap', |
|
|
|
expiry=3600 * 24, |
|
|
|