This commit is contained in:
Jack Robison 2022-10-24 18:52:22 -04:00
parent 59c07e315a
commit 81c44f5f4e

View file

@ -1799,6 +1799,7 @@ class EffectiveAmountPrefixRow(PrefixRow):
@classmethod @classmethod
def pack_value(cls, effective_amount: int, support_sum: int) -> bytes: def pack_value(cls, effective_amount: int, support_sum: int) -> bytes:
assert effective_amount >= support_sum
return super().pack_value(effective_amount, support_sum) return super().pack_value(effective_amount, support_sum)
@classmethod @classmethod