Commit 5f100f22 authored by Maurelian's avatar Maurelian

bmon: Simplify logic for now

parent d1b7063d
......@@ -44,17 +44,14 @@ const provideHandleBlock = (
).toString()
)
if (accountBalance.gte(account.thresholds.warning)) {
// todo: add to the findings array when balances are below the threshold
// return if this is the last account
if (idx === accounts.length - 1) {
return findings
} else {
continue
}
}
}
// todo: Add to the findings array when balances are below the threshold
return findings
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment