message: Create LegacyScriptPubKeyMan when not a descriptor wallet
diff: @@ -3899,8 +3899,10 @@ std::shared_ptr<CWallet> CWallet::CreateWalletFromFile(interfaces::Chain& chain,
  walletInstance->SetWalletFlags(wallet_creation_flags, false);
  - // Always create LegacyScriptPubKeyMan for now
  + // Only create LegacyScriptPubKeyMan when not descriptor wallet
  + if (!walletInstance->IsWalletFlagSet(WALLET_FLAG_DESCRIPTORS)) {
  walletInstance->SetupLegacyScriptPubKeyMan();
  + }
  if (!(wallet_creation_flags & (WALLET_FLAG_DISABLE_PRIVATE_KEYS | WALLET_FLAG_BLANK_WALLET))) {
  LOCK(walletInstance->cs_wallet);
  