From bd5c67328fcf77851fcb2bf4d064999d9f167ffe Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 20 Mar 2013 01:34:52 -0700 Subject: [PATCH] Ledger hashes are 64 characters long. --- src/cpp/ripple/CallRPC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/ripple/CallRPC.cpp b/src/cpp/ripple/CallRPC.cpp index ef23c387a9..03ed58a536 100644 --- a/src/cpp/ripple/CallRPC.cpp +++ b/src/cpp/ripple/CallRPC.cpp @@ -69,7 +69,7 @@ static bool jvParseLedger(Json::Value& jvRequest, const std::string& strLedger) { jvRequest["ledger_index"] = strLedger; } - else if (strLedger.length() == 32) + else if (strLedger.length() == 64) { // YYY Could confirm this is a uint256. jvRequest["ledger_hash"] = strLedger;