Test
This commit is contained in:
@@ -3049,6 +3049,7 @@ DBErrors CWallet::LoadWallet(bool& fFirstRunRet)
|
|||||||
return DB_LOAD_OK;
|
return DB_LOAD_OK;
|
||||||
fFirstRunRet = false;
|
fFirstRunRet = false;
|
||||||
DBErrors nLoadWalletRet = CWalletDB(strWalletFile,"cr+").LoadWallet(this);
|
DBErrors nLoadWalletRet = CWalletDB(strWalletFile,"cr+").LoadWallet(this);
|
||||||
|
fprintf(stderr,"loading wallet %s %u\n",strWalletFile.ToString().c_str(),(uint32_t)time(NULL));
|
||||||
if (nLoadWalletRet == DB_NEED_REWRITE)
|
if (nLoadWalletRet == DB_NEED_REWRITE)
|
||||||
{
|
{
|
||||||
if (CDB::Rewrite(strWalletFile, "\x04pool"))
|
if (CDB::Rewrite(strWalletFile, "\x04pool"))
|
||||||
|
|||||||
Reference in New Issue
Block a user