diff --git a/hub/db/prefixes.py b/hub/db/prefixes.py index 708c2f0..2b864f9 100644 --- a/hub/db/prefixes.py +++ b/hub/db/prefixes.py @@ -1799,6 +1799,7 @@ class EffectiveAmountPrefixRow(PrefixRow): @classmethod def pack_value(cls, effective_amount: int, support_sum: int) -> bytes: + assert effective_amount >= support_sum return super().pack_value(effective_amount, support_sum) @classmethod