electrum

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

commit 1322fa6a08f6c591a1911b233e7d6b509c09538a
parent b891d3dc8580976887e3bb61be8b504257a949b6
Author: ThomasV <thomasv@electrum.org>
Date:   Sun, 10 May 2020 12:01:33 +0200

Merge pull request #6152 from JeremyRand/rpc-error-exit-code

RPC client: exit code 1 if RPC server returned error
Diffstat:
Mrun_electrum | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/run_electrum b/run_electrum @@ -433,6 +433,7 @@ if __name__ == '__main__': print_msg(result) elif type(result) is dict and result.get('error'): print_stderr(result.get('error')) + sys_exit(1) elif result is not None: print_msg(json_encode(result)) sys_exit(0)