util: Use FEATURE_LATEST for wallets created with bitcoin-wallet

This commit is contained in:
Hennadii Stepanov 2021-10-25 00:28:29 +03:00
parent 04437ee721
commit 5b6b5ef5d1
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -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)) {