diff --git a/electrum/submarine_swaps.py b/electrum/submarine_swaps.py index dd7d38327..233aa93a6 100644 --- a/electrum/submarine_swaps.py +++ b/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,