Simon Volpert minipos / e30817c
Fix startup receiving address count message pluralization Simon Volpert 6 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
10291029 if addr != address:
10301030 # Replace the plaintext entry with a ready-to-use tuple
10311031 config['addresses'][config['addresses'].index(address)] = (addr, idx)
1032 logging.debug('{} receiving addresse(s) loaded'.format(len(config['addresses'])))
1032 plural_addrs = 'es' if len(config['addresses']) > 1 else ''
1033 logging.debug('{} receiving address{} loaded'.format(len(config['addresses']), plural_addrs))
10331034 if 'xpub' in config:
10341035 logging.debug('Current derivation index set to {}'.format(config['index']))
10351036