URI: 
       tdon't use assert is is_xprv (weird kivy bug) - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 4f0631d78d3e923e3e60fb42a4d4442c199958b9
   DIR parent fe32d051d17814e587d5b28ec4973e2a1ba7b60b
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sat, 16 Jan 2016 15:05:29 +0100
       
       don't use assert is is_xprv (weird kivy bug)
       
       Diffstat:
         M lib/wallet.py                       |       6 ++++--
       
       1 file changed, 4 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -1987,8 +1987,9 @@ class Wallet(object):
        
            @staticmethod
            def is_xpub(text):
       +        if text[0:4] != 'xpub':
       +            return False
                try:
       -            assert text[0:4] == 'xpub'
                    deserialize_xkey(text)
                    return True
                except:
       t@@ -1996,8 +1997,9 @@ class Wallet(object):
        
            @staticmethod
            def is_xprv(text):
       +        if text[0:4] != 'xprv':
       +            return False
                try:
       -            assert text[0:4] == 'xprv'
                    deserialize_xkey(text)
                    return True
                except: