From 0cbd81146fc754d07c5994b5fcb2c35143494c21 Mon Sep 17 00:00:00 2001 From: Nik Bougalis Date: Fri, 24 Jul 2015 16:15:25 -0700 Subject: [PATCH] Fix parsing in ledger_request --- src/ripple/net/impl/RPCCall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/net/impl/RPCCall.cpp b/src/ripple/net/impl/RPCCall.cpp index dccdfccefe..e824192b83 100644 --- a/src/ripple/net/impl/RPCCall.cpp +++ b/src/ripple/net/impl/RPCCall.cpp @@ -499,7 +499,7 @@ private: std::string strLedger = jvParams[0u].asString (); - if (strLedger.length () == 32) + if (strLedger.length () == 64) { jvRequest[jss::ledger_hash] = strLedger; }