another fix

This commit is contained in:
ThomasV 2011-11-05 08:09:04 +01:00
parent 8aba220403
commit 368fa7980f
1 changed files with 3 additions and 1 deletions

View File

@ -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()