rpc: createwallet warning that descriptor wallets are experimental
This commit is contained in:
1 parent
610030d95c
commit
b9073c8f13
1 file changed
+1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user