X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Finit.cpp;h=665c14ec05b6def6754080bf29eb0472f7b0a732;hp=0a70532daaf3c62552666b2d3e1edc18ed489d6a;hb=99a9cc8988dfea35ff6caee2ab2846a47169e8c4;hpb=ff5e242cae806847be87faa1e6c46ce04916ea10 diff --git a/src/init.cpp b/src/init.cpp index 0a70532..665c14e 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -587,7 +587,7 @@ bool AppInit2() return false; } - if (filesystem::exists(GetDataDir() / strWalletFileName)) + if (boost::filesystem::exists(GetDataDir() / strWalletFileName)) { CDBEnv::VerifyResult r = bitdb.Verify(strWalletFileName, CWalletDB::Recover); if (r == CDBEnv::RECOVER_OK) @@ -950,13 +950,13 @@ bool AppInit2() StartShutdown(); } - filesystem::path pathBootstrap = GetDataDir() / "bootstrap.dat"; - if (filesystem::exists(pathBootstrap)) { + boost::filesystem::path pathBootstrap = GetDataDir() / "bootstrap.dat"; + if (boost::filesystem::exists(pathBootstrap)) { uiInterface.InitMessage(_("Importing bootstrap blockchain data file.")); FILE *file = fopen(pathBootstrap.string().c_str(), "rb"); if (file) { - filesystem::path pathBootstrapOld = GetDataDir() / "bootstrap.dat.old"; + boost::filesystem::path pathBootstrapOld = GetDataDir() / "bootstrap.dat.old"; LoadExternalBlockFile(file); RenameOver(pathBootstrap, pathBootstrapOld); }