mirror of
https://github.com/Instadapp/assembly.git
synced 2024-07-29 22:37:06 +00:00
Update deposit-and-borrow.ts
This commit is contained in:
parent
52be22d635
commit
44527e4bc8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user