diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-04-24 17:57:37 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-05-05 00:24:06 -0400 |
commit | b9073c8f13fb0ba94c2ec6365666343e19fd9ddf (patch) | |
tree | 7804b8f0337a72ed27fd36a384f5b72bee4fcf1e /src/wallet | |
parent | 610030d95c60ea526440d801a98ac8bd370eac48 (diff) |
rpc: createwallet warning that descriptor wallets are experimental
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index e666d55e11..deb952d904 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; |