Cosmetic.

This commit is contained in:
Arthur Britto
2012-10-12 15:08:56 -07:00
parent d7cd404c12
commit edabc770aa
2 changed files with 2 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ void Application::run()
if (theConfig.START_UP == Config::FRESH)
{
Log(lsINFO) << "Starting new Ledger";
startNewLedger();
startNewLedger();
}
else if (theConfig.START_UP == Config::LOAD)
{
@@ -153,7 +153,6 @@ void Application::run()
mConnectionPool.start();
if (theConfig.RUN_STANDALONE)
{
Log(lsWARNING) << "Running in standalone mode";

View File

@@ -887,7 +887,7 @@ std::auto_ptr<STObject> STObject::parseJson(const Json::Value& object, SField::r
case STI_UINT8:
if (value.isString())
data.push_back(new STUInt8(field, lexical_cast_st<unsigned char>(value.asString())));
else if (value.isInt())
else if (value.isInt())
{
if (value.asInt() < 0 || value.asInt() > 255)
throw std::runtime_error("value out of rand");