URI: 
       tadd check in importprivkey - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 3fdfd23ca995893390f6ce77f468f91f3b4f33fc
   DIR parent dd8493f97e0b4c6db3b6b4d8b0bf74ed6c5c60be
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Thu, 28 May 2015 15:27:22 +0200
       
       add check in importprivkey
       
       Diffstat:
         M lib/commands.py                     |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/commands.py b/lib/commands.py
       t@@ -277,6 +277,7 @@ class Commands:
                return s.encode('utf8')
        
            def importprivkey(self, sec):
       +        assert self.wallet.can_import()
                try:
                    addr = self.wallet.import_key(sec,self.password)
                    out = "Keypair imported: ", addr