From b9073c8f13fb0ba94c2ec6365666343e19fd9ddf Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Fri, 24 Apr 2020 17:57:37 -0400 Subject: [PATCH] rpc: createwallet warning that descriptor wallets are experimental --- src/wallet/rpcwallet.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index e666d55e116..deb952d9040 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -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;