1
0

fix bug with has_seed

This commit is contained in:
ThomasV
2014-04-30 15:44:46 +02:00
parent dc22ba4d5e
commit 84052bcdb2
2 changed files with 7 additions and 3 deletions

View File

@@ -299,7 +299,11 @@ def is_address(addr):
def is_private_key(key):
return ASecretToSecret(key) is not False
try:
k = ASecretToSecret(key)
return k is not False
except:
return False
########### end pywallet functions #######################