commit 368fa7980f74db07e22eb32edf292abeb98b8d82 parent 8aba220403dd6b6be7411e9aca9c4f603e5db60f Author: ThomasV <thomasv@gitorious> Date: Sat, 5 Nov 2011 08:09:04 +0100 another fix Diffstat:
M | client/electrum | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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()