rpc: createwallet warning that descriptor wallets are experimental

This commit is contained in:
Andrew Chow 2020-04-24 17:57:37 -04:00
parent 610030d95c
commit b9073c8f13

View File

@ -2720,6 +2720,7 @@ static UniValue createwallet(const JSONRPCRequest& request)
}
if (!request.params[5].isNull() && request.params[5].get_bool()) {
flags |= WALLET_FLAG_DESCRIPTORS;
warnings.emplace_back(Untranslated("Wallet is an experimental descriptor wallet"));
}
bilingual_str error;