style: clang-tidy auto fixes (#1685)

Fixes #1684. Please review and commit clang-tidy fixes.

Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-10-15 10:05:03 +01:00
committed by GitHub
parent b761fffa2d
commit 02a75356fb
3 changed files with 3 additions and 3 deletions

View File

@@ -430,8 +430,9 @@ ledgerHeaderFromRequest(std::shared_ptr<data::BackendInterface const> const& bac
} else {
ledgerSequence = parseStringAsUInt(stringIndex);
}
} else if (indexValue.is_int64())
} else if (indexValue.is_int64()) {
ledgerSequence = indexValue.as_int64();
}
} else {
ledgerSequence = ctx.range.maxSequence;
}