assert
This commit is contained in:
parent
59c07e315a
commit
81c44f5f4e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue