mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 17:22:01 +00:00
fix vector default type
This commit is contained in:
parent
977856b06f
commit
82240d8dbd
@ -333,7 +333,7 @@ class Vector(BaseList):
|
||||
|
||||
@classmethod
|
||||
def default(cls):
|
||||
return [cls.elem_type.default() for _ in range(cls.length)]
|
||||
return cls(cls.elem_type.default() for _ in range(cls.length))
|
||||
|
||||
@classmethod
|
||||
def is_fixed_size(cls):
|
||||
|
Loading…
x
Reference in New Issue
Block a user