We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6608fec commit bbb42a6Copy full SHA for bbb42a6
src/wallet/rpcwallet.cpp
@@ -2740,6 +2740,9 @@ static RPCHelpMan createwallet()
2740
flags |= WALLET_FLAG_AVOID_REUSE;
2741
}
2742
if (!request.params[5].isNull() && request.params[5].get_bool()) {
2743
+#ifndef USE_SQLITE
2744
+ throw JSONRPCError(RPC_WALLET_ERROR, "Compiled without sqlite support (required for descriptor wallets)");
2745
+#endif
2746
flags |= WALLET_FLAG_DESCRIPTORS;
2747
warnings.emplace_back(Untranslated("Wallet is an experimental descriptor wallet"));
2748
0 commit comments