Merge branch 'ssz-impl-rework' of github.com:ethereum/eth2.0-specs into ssz-impl-rework

This commit is contained in:
Vitalik Buterin 2019-05-30 09:42:47 -04:00
commit 3630b2ea9f

View File

@ -12,6 +12,7 @@ L = TypeVar('L')
class uint(int):
byte_len = 0
def __new__(cls, value, *args, **kwargs):
if value < 0:
raise ValueError("unsigned types must not be negative")