1
0

patch by Soultaker; fix old_to_new

This commit is contained in:
ThomasV
2012-06-13 21:12:16 +02:00
parent a5aa67c66e
commit b39289c4df
2 changed files with 18 additions and 8 deletions

View File

@@ -647,9 +647,9 @@ class Wallet:
f.close()
except:
return
data = interface.old_to_new(data)
try:
d = ast.literal_eval( data )
interface.old_to_new(d)
self.seed_version = d.get('seed_version')
self.master_public_key = d.get('master_public_key').decode('hex')
self.use_encryption = d.get('use_encryption')