rpc: createwallet warning that descriptor wallets are experimental

This commit is contained in:
Andrew Chow committed 2020-05-05 00:24:06 -04:00
1 parent 610030d95c
commit b9073c8f13
1 file changed
+1
+1
View File
@@ -2720,6 +2720,7 @@ static UniValue createwallet(const JSONRPCRequest& request)
} }
if (!request.params[5].isNull() && request.params[5].get_bool()) { if (!request.params[5].isNull() && request.params[5].get_bool()) {
flags |= WALLET_FLAG_DESCRIPTORS; flags |= WALLET_FLAG_DESCRIPTORS;
warnings.emplace_back(Untranslated("Wallet is an experimental descriptor wallet"));
} }
bilingual_str error; bilingual_str error;