URI: 
       tdo not allow channel creation from backup file - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 704c3ae07ff84cf9f6ea7ef9416bd3e64bec7b3b
   DIR parent 9d0a862a43adedc24e4cab9aeb8f6a0a492c5c6a
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu, 20 Feb 2020 19:09:05 +0100
       
       do not allow channel creation from backup file
       
       Diffstat:
         M electrum/lnworker.py                |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/electrum/lnworker.py b/electrum/lnworker.py
       t@@ -779,6 +779,8 @@ class LNWallet(LNWorker):
            def open_channel(self, *, connect_str: str, funding_tx: PartialTransaction,
                             funding_sat: int, push_amt_sat: int, password: str = None,
                             timeout: Optional[int] = 20) -> Tuple[Channel, PartialTransaction]:
       +        if self.wallet.is_lightning_backup():
       +            raise BaseException(_('Cannot create channel: this is a backup file'))
                if funding_sat > LN_MAX_FUNDING_SAT:
                    raise Exception(_("Requested channel capacity is over protocol allowed maximum."))
                coro = self._open_channel_coroutine(connect_str=connect_str, funding_tx=funding_tx, funding_sat=funding_sat,