mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 15:05:00 -05:00
Change byte to explict class instead of newtype
This commit is contained in:
@@ -45,7 +45,8 @@ class uint8(uint):
|
||||
|
||||
|
||||
# Alias for uint8
|
||||
byte = NewType('byte', uint8)
|
||||
class byte(uint8):
|
||||
pass
|
||||
|
||||
|
||||
class uint16(uint):
|
||||
|
||||
Reference in New Issue
Block a user