From 108410d8626a2db20bb7e44422180f98d41162c6 Mon Sep 17 00:00:00 2001 From: protolambda Date: Sat, 15 Jun 2019 22:12:59 +0200 Subject: [PATCH] Change byte to explict class instead of newtype --- test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py b/test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py index 7cf44f6b3..40901ad97 100644 --- a/test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py +++ b/test_libs/pyspec/eth2spec/utils/ssz/ssz_typing.py @@ -45,7 +45,8 @@ class uint8(uint): # Alias for uint8 -byte = NewType('byte', uint8) +class byte(uint8): + pass class uint16(uint):