Skip to content

Commit f1b7db1

Browse files
committed
wallet: don't mute exceptions in importdescriptors
1 parent bf68ebc commit f1b7db1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/wallet/rpcdump.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,10 +1590,6 @@ static UniValue ProcessDescriptorImport(CWallet& wallet, const UniValue& data, c
15901590
} catch (const UniValue& e) {
15911591
result.pushKV("success", UniValue(false));
15921592
result.pushKV("error", e);
1593-
} catch (...) {
1594-
result.pushKV("success", UniValue(false));
1595-
1596-
result.pushKV("error", JSONRPCError(RPC_MISC_ERROR, "Missing required fields"));
15971593
}
15981594
if (warnings.size()) result.pushKV("warnings", warnings);
15991595
return result;

0 commit comments

Comments
 (0)