mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-04 18:55:49 +00:00
fix for https://github.com/Xahau/xahaud/issues/148 breaks some tests that lack index field. xls41 needs to be updated to include index field.
This commit is contained in:
@@ -271,6 +271,13 @@ syntaxCheckXPOP(Blob const& blob, beast::Journal const& j)
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!xpop["ledger"]["index"].isInt())
|
||||||
|
{
|
||||||
|
JLOG(j.warn()) << "XPOP.ledger.index missing or wrong format "
|
||||||
|
"(should be int)";
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
if (!xpop["ledger"]["flags"].isInt())
|
if (!xpop["ledger"]["flags"].isInt())
|
||||||
{
|
{
|
||||||
JLOG(j.warn()) << "XPOP.ledger.flags missing or wrong format "
|
JLOG(j.warn()) << "XPOP.ledger.flags missing or wrong format "
|
||||||
|
|||||||
Reference in New Issue
Block a user