Add SetMinVersion to CWallet

This commit is contained in:
Pieter Wuille
2012-02-18 14:55:02 +01:00
parent 2d36b60f92
commit 0b807a417f
4 changed files with 44 additions and 2 deletions

View File

@@ -940,6 +940,7 @@ int CWalletDB::LoadWallet(CWallet* pwallet)
ssValue >> nMinVersion;
if (nMinVersion > CLIENT_VERSION)
return DB_TOO_NEW;
pwallet->LoadMinVersion(nMinVersion);
}
else if (strType == "cscript")
{