diff --git a/src/Application.cpp b/src/Application.cpp index 5bde97d884..9fae4ab2e9 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -31,7 +31,7 @@ DatabaseCon::DatabaseCon(const std::string& name, const char *initStrings[], int std::string path=strprintf("%s%s", theConfig.DATA_DIR.c_str(), name.c_str()); mDatabase=new SqliteDatabase(path.c_str()); mDatabase->connect(); - for(int i=0; iexecuteSQL(initStrings[i], true); } @@ -133,6 +133,7 @@ void Application::run() mWallet.load(); // mWallet.syncToLedger(true, &(*secondLedger)); + mNetOps.setStateTimer(5); // temporary mIOService.run(); // This blocks