From 368fa7980f74db07e22eb32edf292abeb98b8d82 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 5 Nov 2011 08:09:04 +0100 Subject: [PATCH] another fix --- client/electrum | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/electrum b/client/electrum index 04a9c7cb7..c7e7e29ec 100755 --- a/client/electrum +++ b/client/electrum @@ -300,7 +300,9 @@ class Wallet: # remove limit-1 addresses. [ this is ok, because change addresses are at the beginning of the list] n = self.gap_limit self.addresses = self.addresses[:-n] - self.keys = self.private_keys[:-n] + private_keys = ast.literal_eval( self.pw_decode( self.private_keys, password)) + private_keys = private_keys[:-n] + self.private_keys = self.pw_encode( repr(private_keys), password) # history and addressbook self.update_tx_history()