aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/external_signer.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-04-13 19:55:59 +0800
committerfanquake <fanquake@gmail.com>2021-04-13 20:09:34 +0800
commitc8f469c6d50a8db6d92f0aed47a5d1cc82f30f7f (patch)
tree1a837e6e83ada96dfff569be2a6c31c38c80eeca /src/rpc/external_signer.cpp
parent9e0b199b976617edeb1c58d4203df5f83a26c1e3 (diff)
downloadbitcoin-c8f469c6d50a8db6d92f0aed47a5d1cc82f30f7f.tar.xz
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.cpp2
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);