URI: 
       tcan_import - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 2642b7e1265f1e0e4a1f18dba33601af3b8b8d75
   DIR parent 78a748149c346683f33e51851c93ee9bc7596016
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Wed,  7 May 2014 11:53:32 +0200
       
       can_import
       
       Diffstat:
         M lib/wallet.py                       |       6 ++++++
       
       1 file changed, 6 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -1070,6 +1070,9 @@ class Abstract_Wallet:
                    d[k] = v.dump()
                self.storage.put('accounts', d, True)
        
       +    def can_import(self):
       +        return not self.is_watching_only()
       +
            
        
        class Imported_Wallet(Abstract_Wallet):
       t@@ -1458,6 +1461,9 @@ class Wallet_2of2(NewWallet):
            def can_create_accounts(self):
                return False
        
       +    def can_import(self):
       +        return False
       +
            def create_account(self):
                xpub1 = self.master_public_keys.get("m/")
                xpub2 = self.master_public_keys.get("cold/")