Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
Add index logging to wallet-tool import loop
Browse files Browse the repository at this point in the history
This gives the user an indication of progress during the import loop.
  • Loading branch information
adlai committed Jul 2, 2016
1 parent 4f89a90 commit 984626b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion joinmarket/blockchaininterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,9 @@ def sync_addresses(self, wallet):

wallet_addr_list = []
if len(too_few_addr_mix_change) > 0:
log.debug('too few addresses in ' + str(too_few_addr_mix_change))
indices = [wallet.index[mc[0]][mc[1]] for mc in too_few_addr_mix_change]
log.debug('too few addresses in ' + str(too_few_addr_mix_change) +
' at ' + str(indices))
for mix_depth, forchange in too_few_addr_mix_change:
wallet_addr_list += [
wallet.get_new_addr(mix_depth, forchange)
Expand Down

0 comments on commit 984626b

Please sign in to comment.