mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 16:42:54 +01:00
rpc: createwallet warning that descriptor wallets are experimental
This commit is contained in:
@@ -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