diff --git a/core/strategies/protocols/aave-v2/deposit-and-borrow.ts b/core/strategies/protocols/aave-v2/deposit-and-borrow.ts index 7833a19..dba44c0 100644 --- a/core/strategies/protocols/aave-v2/deposit-and-borrow.ts +++ b/core/strategies/protocols/aave-v2/deposit-and-borrow.ts @@ -75,7 +75,7 @@ export default defineStrategy({ ], validate: async ({ position, inputs, toBN }) => { - if (toBN(inputs[0].value).isZero() && toBN(inputs[0].value).isZero()) { + if (toBN(inputs[0].value).isZero() && toBN(inputs[1].value).isZero()) { return; }