fix: swapped operands
All checks were successful
Build / build (push) Successful in 1m2s
Build / build (pull_request) Successful in 2m1s

This commit is contained in:
Sainan 2025-06-06 10:47:12 +02:00
parent d739945a1d
commit d41395131a

View File

@ -174,7 +174,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
body.target.fp = BigInt(body.target.fp);
const manifest = getNemesisManifest(body.target.manifest);
if (account.BuildLabel && version_compare(manifest.minBuild, account.BuildLabel) < 0) {
if (account.BuildLabel && version_compare(account.BuildLabel, manifest.minBuild) < 0) {
logger.warn(
`client on version ${account.BuildLabel} provided nemesis manifest ${body.target.manifest} which was expected to require ${manifest.minBuild} or above. please file a bug report.`
);