From 245581c10246d47a3ec63a50d05b628b79a72656 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Thu, 26 Apr 2012 17:45:59 -0700 Subject: [PATCH] Cleanup. --- src/RPCServer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/RPCServer.cpp b/src/RPCServer.cpp index ea23907c3..62921c959 100644 --- a/src/RPCServer.cpp +++ b/src/RPCServer.cpp @@ -222,10 +222,10 @@ Json::Value RPCServer::doAccountInfo(Json::Value ¶ms) { // accountinfo : // accountinfo std::string acct; - if(!extractString(acct, params, 0)) + if (!extractString(acct, params, 0)) return JSONRPCError(500, "Invalid account identifier"); - LocalAccount::pointer account=theApp->getWallet().parseAccount(acct); + LocalAccount::pointer account = theApp->getWallet().parseAccount(acct); if(account) return account->getJson(); NewcoinAddress acctid; @@ -233,7 +233,7 @@ Json::Value RPCServer::doAccountInfo(Json::Value ¶ms) return JSONRPCError(500, "Unable to parse account"); LocalAccount::pointer lac(theApp->getWallet().getLocalAccount(acctid)); - if(!!lac) return lac->getJson(); + if (!!lac) return lac->getJson(); AccountState::pointer as=theApp->getMasterLedger().getCurrentLedger()->getAccountState(acctid); Json::Value ret(Json::objectValue);