make mount(...) public again

This commit is contained in:
Dustin Brody 2019-11-25 14:47:52 +01:00
parent b82328b148
commit 904283e33e
1 changed files with 1 additions and 1 deletions

View File

@ -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)