summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/amount.cc b/amount.cc
index 4ed30087..d96913d3 100644
--- a/amount.cc
+++ b/amount.cc
@@ -102,8 +102,8 @@ struct amount_t::bigint_t : public supports_flags<>
DEBUG("ledger.validate", "amount_t::bigint_t: prec > 128");
return false;
}
- if (ref > 128) {
- DEBUG("ledger.validate", "amount_t::bigint_t: ref > 128");
+ if (ref > 16535) {
+ DEBUG("ledger.validate", "amount_t::bigint_t: ref > 16535");
return false;
}
#if 0