mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 02:35:20 +00:00
another fix
This commit is contained in:
parent
8aba220403
commit
368fa7980f
1 changed files with 3 additions and 1 deletions
|
@ -300,7 +300,9 @@ class Wallet:
|
||||||
# remove limit-1 addresses. [ this is ok, because change addresses are at the beginning of the list]
|
# remove limit-1 addresses. [ this is ok, because change addresses are at the beginning of the list]
|
||||||
n = self.gap_limit
|
n = self.gap_limit
|
||||||
self.addresses = self.addresses[:-n]
|
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
|
# history and addressbook
|
||||||
self.update_tx_history()
|
self.update_tx_history()
|
||||||
|
|
Loading…
Add table
Reference in a new issue