From 386e17ac147412491dc629c99ab2a567ac5097cb Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 8 May 2012 03:42:26 -0700 Subject: [PATCH] Change when we start the state timer. --- src/Application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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