Update deposit-and-borrow.ts

This commit is contained in:
Georges KABBOUCHI 2021-08-26 21:36:17 +03:00
parent 52be22d635
commit 44527e4bc8

View File

@ -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;
}