Fix startup receiving address count message pluralization
Simon Volpert
6 years ago
1029 | 1029 | if addr != address: |
1030 | 1030 | # Replace the plaintext entry with a ready-to-use tuple |
1031 | 1031 | 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)) | |
1033 | 1034 | if 'xpub' in config: |
1034 | 1035 | logging.debug('Current derivation index set to {}'.format(config['index'])) |
1035 | 1036 |