aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-04-24 17:57:37 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-05-05 00:24:06 -0400
commitb9073c8f13fb0ba94c2ec6365666343e19fd9ddf (patch)
tree7804b8f0337a72ed27fd36a384f5b72bee4fcf1e /src/wallet
parent610030d95c60ea526440d801a98ac8bd370eac48 (diff)
rpc: createwallet warning that descriptor wallets are experimental
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/rpcwallet.cpp1
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;