diff --git a/src/RPCServer.cpp b/src/RPCServer.cpp index 48707d4360..f8cbeccfe3 100644 --- a/src/RPCServer.cpp +++ b/src/RPCServer.cpp @@ -1344,7 +1344,7 @@ Json::Value RPCServer::doTx(Json::Value& params) Json::Value ret; uint256 txid(param1); - Transaction::pointer txn=theApp->getMasterTransaction().fetch(txid, true); + Transaction::pointer txn = theApp->getMasterTransaction().fetch(txid, true); if (!txn) return RPCError(rpcTXN_NOT_FOUND); diff --git a/src/TransactionMaster.cpp b/src/TransactionMaster.cpp index 8cddedf819..2ed33f8de0 100644 --- a/src/TransactionMaster.cpp +++ b/src/TransactionMaster.cpp @@ -21,7 +21,7 @@ TransactionMaster::TransactionMaster() : mCache(CACHED_TRANSACTION_NUM, CACHED_T Transaction::pointer TransactionMaster::fetch(const uint256& txnID, bool checkDisk) { Transaction::pointer txn = mCache.fetch(txnID); - if( !checkDisk || txn) return txn; + if (!checkDisk || txn) return txn; txn = Transaction::load(txnID); if (!txn) return txn;