mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 15:35:50 +00:00
Ledger hashes are 64 characters long.
This commit is contained in:
@@ -69,7 +69,7 @@ static bool jvParseLedger(Json::Value& jvRequest, const std::string& strLedger)
|
|||||||
{
|
{
|
||||||
jvRequest["ledger_index"] = strLedger;
|
jvRequest["ledger_index"] = strLedger;
|
||||||
}
|
}
|
||||||
else if (strLedger.length() == 32)
|
else if (strLedger.length() == 64)
|
||||||
{
|
{
|
||||||
// YYY Could confirm this is a uint256.
|
// YYY Could confirm this is a uint256.
|
||||||
jvRequest["ledger_hash"] = strLedger;
|
jvRequest["ledger_hash"] = strLedger;
|
||||||
|
|||||||
Reference in New Issue
Block a user