From 4f3497027d6b05664402b08c33863bfa9a492469 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 1 Nov 2013 12:40:53 +0100 Subject: [PATCH] fix deseed --- electrum | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/electrum b/electrum index ffa4eb95..ecef1f30 100755 --- 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.")