electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 019884a98b3bf615f2f02bbbdd4512b55d765ebc
parent 2174fc0676aa24797fc5a5c635c14d9d285a5374
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue, 12 Feb 2019 19:23:58 +0100

network: follow-up 38ab7ee554b89b96c5ac7ea1b83d275d6cdb3cad

Diffstat:
Melectrum/network.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/electrum/network.py b/electrum/network.py @@ -775,7 +775,7 @@ class Network(PrintError): def catch_server_exceptions(func): async def wrapper(self, *args, **kwargs): try: - await func(self, *args, **kwargs) + return await func(self, *args, **kwargs) except aiorpcx.jsonrpc.CodeMessageError as e: raise UntrustedServerReturnedError(original_exception=e) return wrapper