Add minversion to wallet.

This commit is contained in:
Matt Corallo
2011-07-05 03:06:19 +02:00
parent 9390431ce4
commit 7ec552676c
4 changed files with 32 additions and 9 deletions

View File

@@ -958,8 +958,9 @@ bool CWallet::LoadWallet(bool& fFirstRunRet)
if (!fFileBacked)
return false;
fFirstRunRet = false;
if (!CWalletDB(strWalletFile,"cr+").LoadWallet(this))
return false;
int nLoadWalletRet = CWalletDB(strWalletFile,"cr+").LoadWallet(this);
if (nLoadWalletRet != DB_LOAD_OK)
return nLoadWalletRet;
fFirstRunRet = vchDefaultKey.empty();
if (!mapKeys.count(vchDefaultKey))