diff --git a/electrum/commands.py b/electrum/commands.py index 03cb5847e..91df39190 100644 --- a/electrum/commands.py +++ b/electrum/commands.py @@ -1009,6 +1009,7 @@ class Commands: lnworker = wallet.lnworker lnaddr = lnworker._check_invoice(invoice, None) payment_hash = lnaddr.paymenthash + wallet.save_invoice(parse_lightning_invoice(invoice)) success = await lnworker._pay(invoice, attempts=attempts) return { 'payment_hash': payment_hash.hex(),