Skip to content

Commit b9073c8

Browse files
committed
rpc: createwallet warning that descriptor wallets are experimental
1 parent 610030d commit b9073c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,6 +2720,7 @@ static UniValue createwallet(const JSONRPCRequest& request)
27202720
}
27212721
if (!request.params[5].isNull() && request.params[5].get_bool()) {
27222722
flags |= WALLET_FLAG_DESCRIPTORS;
2723+
warnings.emplace_back(Untranslated("Wallet is an experimental descriptor wallet"));
27232724
}
27242725

27252726
bilingual_str error;

0 commit comments

Comments
 (0)