fix: wallet storage upgrade 13b had incorrect assumptions

This commit is contained in:
SomberNight 2017-11-02 09:49:11 +01:00
parent 2774126db6
commit 3b26beac9e
2 changed files with 11 additions and 5 deletions

View File

@ -358,11 +358,6 @@ class WalletStorage(PrintError):
if self.get('wallet_type') == 'standard':
if self.get('keystore').get('type') == 'imported':
pubkeys = self.get('keystore').get('keypairs').keys()
if self.get('pubkeys'):
pubkeys2 = set(self.get('pubkeys').get('receiving'))
assert len(pubkeys) == len(pubkeys2)
for pubkey in pubkeys:
assert pubkey in pubkeys2
d = {'change': []}
receiving_addresses = []
for pubkey in pubkeys:

File diff suppressed because one or more lines are too long