diff --git a/scripts/checkLiquidation.mjs b/scripts/checkLiquidation.mjs index 9b8208ed..008f9ca6 100644 --- a/scripts/checkLiquidation.mjs +++ b/scripts/checkLiquidation.mjs @@ -76,7 +76,7 @@ const validate = async ({ apiUrl, maxRetries, retryDuration, expectations, filte for (const key of Object.keys(expectations)) { for (let i = 0; i < nodes.length; i++) { - equal(nodes[i][key], expectations[i].key); + equal(nodes[i][key], expectations[key][i]); } }