URI: 
       tparse invoices with lightning: prefix - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit a5ab431b4bd880ffa51b83c0dc43ce59c3e51f00
   DIR parent 5ca6fbaea7c43de5adc7401464c63d692bbeeba9
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Wed, 24 Oct 2018 11:42:01 +0200
       
       parse invoices with lightning: prefix
       
       Diffstat:
         M electrum/gui/qt/paytoedit.py        |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum/gui/qt/paytoedit.py b/electrum/gui/qt/paytoedit.py
       t@@ -131,6 +131,9 @@ class PayToEdit(CompletionTextEdit, ScanQRTextEdit, Logger):
                    if data.startswith("bitcoin:"):
                        self.win.pay_to_URI(data)
                        return
       +            l = data.lower()
       +            if l.startswith("lightning:"):
       +                data = l[10:]
                    if data.startswith("ln"):
                        self.win.parse_lightning_invoice(data)
                        self.lightning_invoice = data