Ledger hashes are 64 characters long.

This commit is contained in:
JoelKatz
2013-03-20 01:34:52 -07:00
parent 9fbbee318d
commit bd5c67328f

View File

@@ -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;