commit 4f3497027d6b05664402b08c33863bfa9a492469
parent 999bf3d2fd7922c6b96431816a999a069a15451e
Author: ThomasV <thomasv@gitorious>
Date: Fri, 1 Nov 2013 12:40:53 +0100
fix deseed
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/electrum b/electrum
@@ -349,16 +349,16 @@ if __name__ == '__main__':
if not wallet.seed:
print_msg("Error: This wallet has no seed")
else:
- ns = wallet.config.path + '.seedless'
+ ns = wallet.storage.path + '.seedless'
print_msg("Warning: you are going to create a seedless wallet'\nIt will be saved in '%s'"%ns)
if raw_input("Are you sure you want to continue? (y/n) ") in ['y','Y','yes']:
- wallet.config.path = ns
+ wallet.storage.path = ns
wallet.seed = ''
wallet.storage.put('seed', '', True)
wallet.use_encryption = False
wallet.storage.put('use_encryption', wallet.use_encryption, True)
for k in wallet.imported_keys.keys(): wallet.imported_keys[k] = ''
- wallet.config.set_key('imported_keys',wallet.imported_keys, True)
+ wallet.storage.put('imported_keys',wallet.imported_keys, True)
print_msg("Done.")
else:
print_msg("Action canceled.")