diff --git a/beacon_chain/ssz.nim b/beacon_chain/ssz.nim index 65b0ad4c2..d9b2f9624 100644 --- a/beacon_chain/ssz.nim +++ b/beacon_chain/ssz.nim @@ -73,7 +73,7 @@ proc init*(T: type SszReader, maxObjectSize = defaultMaxObjectSize): T = T(stream: stream, maxObjectSize: maxObjectSize) -proc mount(F: type SSZ, stream: ByteStreamVar, T: type): T = +proc mount*(F: type SSZ, stream: ByteStreamVar, T: type): T = mixin readValue var reader = init(SszReader, stream) reader.readValue(T)