From 7344ab0148bbde4004570674c4f51fe1caa7eb20 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 27 Mar 2013 18:15:49 -0700 Subject: [PATCH] Missing from previous commit. --- src/cpp/ripple/NetworkOPs.cpp | 2 +- src/cpp/ripple/NetworkOPs.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cpp/ripple/NetworkOPs.cpp b/src/cpp/ripple/NetworkOPs.cpp index 8ed8a74df3..7cd1d24a3a 100644 --- a/src/cpp/ripple/NetworkOPs.cpp +++ b/src/cpp/ripple/NetworkOPs.cpp @@ -1067,7 +1067,7 @@ void NetworkOPs::setMode(OperatingMode om) std::string NetworkOPs::transactionsSQL(std::string selection, const RippleAddress& account, int32 minLedger, int32 maxLedger, bool descending, uint32 offset, int limit, - bool binary, bool count, bool bAmin) + bool binary, bool count, bool bAdmin) { uint32 NONBINARY_PAGE_LENGTH = 200; uint32 BINARY_PAGE_LENGTH = 500; diff --git a/src/cpp/ripple/NetworkOPs.h b/src/cpp/ripple/NetworkOPs.h index f75757e5a2..9cde74eb56 100644 --- a/src/cpp/ripple/NetworkOPs.h +++ b/src/cpp/ripple/NetworkOPs.h @@ -294,7 +294,9 @@ public: bool isWantedHash(const uint256& h, bool remove); //Helper function to generate SQL query to get transactions - std::string transactionsSQL(std::string selection, const RippleAddress& account, int32 minLedger, int32 maxLedger, bool descending, uint32 offset, int limit, bool binary, bool bAdmin); + std::string transactionsSQL(std::string selection, const RippleAddress& account, + int32 minLedger, int32 maxLedger, bool descending, uint32 offset, int limit, + bool binary, bool count, bool bAdmin); // client information retrieval functions