Bitmessage / PyBitmessage

Reference client for Bitmessage: a P2P encrypted decentralised communication protocol:
https://bitmessage.org/wiki/Main_Page
Other
2.83k stars 576 forks source link

Fix outdated exception handlers for singleWorker._getKeysForAddress() #2212

Closed PeterSurda closed 7 months ago

PeterSurda commented 7 months ago

Hi!

I found some incorrect exception handlers in the singleWorker after c1ca7044d2, maybe they are rebase artifacts. singleWorker._getKeysForAddress() handles those (configparser.NoSectionError, configparser.NoOptionError) turning them into the ValueError because highlevelcrypto.decodeWalletImportFormat() also rises it now.