diff options
author | fanquake <fanquake@gmail.com> | 2021-04-13 19:55:59 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-04-13 20:09:34 +0800 |
commit | c8f469c6d50a8db6d92f0aed47a5d1cc82f30f7f (patch) | |
tree | 1a837e6e83ada96dfff569be2a6c31c38c80eeca /src/rpc/external_signer.cpp | |
parent | 9e0b199b976617edeb1c58d4203df5f83a26c1e3 (diff) |
external_signer: remove ExternalSignerException
It's not clear why this need it's own exception class, as opposed to just
throwing std::runtime_error().
Diffstat (limited to 'src/rpc/external_signer.cpp')
-rw-r--r-- | src/rpc/external_signer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/external_signer.cpp b/src/rpc/external_signer.cpp index 08aa8d8dcb..6ec2b1a07f 100644 --- a/src/rpc/external_signer.cpp +++ b/src/rpc/external_signer.cpp @@ -49,7 +49,7 @@ static RPCHelpMan enumeratesigners() signer_res.pushKV("name", signer.m_name); signers_res.push_back(signer_res); } - } catch (const ExternalSignerException& e) { + } catch (const std::exception& e) { throw JSONRPCError(RPC_MISC_ERROR, e.what()); } UniValue result(UniValue::VOBJ); |