tlnpay: save invoice - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a5a5048d53e8db4c5ded6b9b5525c242c32bd445 DIR parent 085b6ca2ab7beaad3210cef65677ce931b4298b2 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 2 May 2020 17:26:02 +0200 lnpay: save invoice Diffstat: M electrum/commands.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/electrum/commands.py b/electrum/commands.py t@@ -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(),