summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 639f7c2..2337388 100644
--- a/rules.js
+++ b/rules.js
@@ -207,8 +207,8 @@ function lower_gov_psl(amount) {
}
function raise_fln_ap(amount, reason) {
- if (amount <= 0)
- throw Error(`ASSERT: amount > 0, but was ${amount}`)
+ if (amount < 0)
+ throw Error(`ASSERT: amount >= 0, but was ${amount}`)
if (reason)
logp(`FLN AP +${amount} (${reason})`)
else