diff --git a/src/init.cpp b/src/init.cpp index 35357f96d..d87efaa14 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1724,6 +1724,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) return InitError(_("Mnemonic passphrase is too long, must be at most 256 characters")); // generate a new master key pwalletMain->GenerateNewHDChain(); + + // ensure this wallet.dat can only be opened by clients supporting HD + pwalletMain->SetMinVersion(FEATURE_HD); } CPubKey newDefaultKey;