diff options
author | S3RK <1466284+S3RK@users.noreply.github.com> | 2021-06-28 21:37:44 +0200 |
---|---|---|
committer | S3RK <1466284+S3RK@users.noreply.github.com> | 2021-06-28 21:37:44 +0200 |
commit | f1b7db14748d9ee04735b4968366d33bc89aea23 (patch) | |
tree | 287fea729cdd667a49f8933193e99e314c5ea61f /src | |
parent | bf68ebc1cd555f791103f81adc9111e0e55c8003 (diff) | |
download | bitcoin-f1b7db14748d9ee04735b4968366d33bc89aea23.tar.xz |
wallet: don't mute exceptions in importdescriptors
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/rpcdump.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 3ae36131cc..5f0d88288f 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -1590,10 +1590,6 @@ static UniValue ProcessDescriptorImport(CWallet& wallet, const UniValue& data, c } catch (const UniValue& e) { result.pushKV("success", UniValue(false)); result.pushKV("error", e); - } catch (...) { - result.pushKV("success", UniValue(false)); - - result.pushKV("error", JSONRPCError(RPC_MISC_ERROR, "Missing required fields")); } if (warnings.size()) result.pushKV("warnings", warnings); return result; |