mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-22 14:52:41 +02:00
rpc: createwallet warning that descriptor wallets are experimental
This commit is contained in:
parent
610030d95c
commit
b9073c8f13
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user