Browse Source

coldcard: show multisig address: more intuitive error msg

cause of error is probably almost always what msg says
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
SomberNight 5 years ago
parent
commit
1236b07abf
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 7
      electrum/plugins/coldcard/coldcard.py

7
electrum/plugins/coldcard/coldcard.py

@ -477,8 +477,11 @@ class Coldcard_KeyStore(Hardware_KeyStore):
self.handler.finished()
except CCProtoError as exc:
self.logger.exception('Error showing address')
self.handler.show_error('{}\n\n{}'.format(
_('Error showing address') + ':', str(exc)))
self.handler.show_error('{}.\n{}\n\n{}'.format(
_('Error showing address'),
_('Make sure you have imported the correct wallet description '
'file on the device for this multisig wallet.'),
str(exc)))
except BaseException as exc:
self.logger.exception('')
self.handler.show_error(exc)

Loading…
Cancel
Save