Bitmessage / PyBitmessage

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

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

Closed PeterSurda closed 2 months ago

PeterSurda commented 2 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.