aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallettool.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-10-25 00:28:29 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-10-25 00:28:29 +0300
commit5b6b5ef5d178bea3c1b2f21e3bd05186312ea191 (patch)
treecfb5c3968deac9ce2a3a8185c448c14f988eb4a0 /src/wallet/wallettool.cpp
parent04437ee721e66a7b76bef5ec2f88dd1efcd03b84 (diff)
downloadbitcoin-5b6b5ef5d178bea3c1b2f21e3bd05186312ea191.tar.xz
util: Use FEATURE_LATEST for wallets created with bitcoin-wallet
Diffstat (limited to 'src/wallet/wallettool.cpp')
-rw-r--r--src/wallet/wallettool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallettool.cpp b/src/wallet/wallettool.cpp
index 88f0a2ce20..d8dbbbfdd5 100644
--- a/src/wallet/wallettool.cpp
+++ b/src/wallet/wallettool.cpp
@@ -26,7 +26,7 @@ static void WalletCreate(CWallet* wallet_instance, uint64_t wallet_creation_flag
{
LOCK(wallet_instance->cs_wallet);
- wallet_instance->SetMinVersion(FEATURE_HD_SPLIT);
+ wallet_instance->SetMinVersion(FEATURE_LATEST);
wallet_instance->AddWalletFlags(wallet_creation_flags);
if (!wallet_instance->IsWalletFlagSet(WALLET_FLAG_DESCRIPTORS)) {