diff --git a/eth/ssz/types.nim b/eth/ssz/types.nim index 9e41bb3..12aeec4 100644 --- a/eth/ssz/types.nim +++ b/eth/ssz/types.nim @@ -164,8 +164,8 @@ template ElemType*(T: type array): untyped = template ElemType*(T: type seq): untyped = type(default(T)[0]) -template ElemType*(T: type List): untyped = - T.T +template ElemType*(T0: type List): untyped = + T0.T func isFixedSize*(T0: type): bool {.compileTime.} = mixin toSszType, enumAllSerializedFields