From 0cb6d2aec63aec76a517b8da621a3c53ab432632 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Fri, 5 Aug 2022 02:53:34 +0000 Subject: Bugfix: Wallet: Document expectations for AddWalletFlags (now InitWalletFlags) correctly --- src/wallet/wallettool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wallet/wallettool.cpp') diff --git a/src/wallet/wallettool.cpp b/src/wallet/wallettool.cpp index 9cd18dd0a5..65c42ec161 100644 --- a/src/wallet/wallettool.cpp +++ b/src/wallet/wallettool.cpp @@ -34,7 +34,7 @@ static void WalletCreate(CWallet* wallet_instance, uint64_t wallet_creation_flag LOCK(wallet_instance->cs_wallet); wallet_instance->SetMinVersion(FEATURE_LATEST); - wallet_instance->AddWalletFlags(wallet_creation_flags); + wallet_instance->InitWalletFlags(wallet_creation_flags); if (!wallet_instance->IsWalletFlagSet(WALLET_FLAG_DESCRIPTORS)) { auto spk_man = wallet_instance->GetOrCreateLegacyScriptPubKeyMan(); -- cgit v1.2.3