make mount(...) public again
This commit is contained in:
parent
b82328b148
commit
904283e33e
|
@ -73,7 +73,7 @@ proc init*(T: type SszReader,
|
||||||
maxObjectSize = defaultMaxObjectSize): T =
|
maxObjectSize = defaultMaxObjectSize): T =
|
||||||
T(stream: stream, maxObjectSize: maxObjectSize)
|
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
|
mixin readValue
|
||||||
var reader = init(SszReader, stream)
|
var reader = init(SszReader, stream)
|
||||||
reader.readValue(T)
|
reader.readValue(T)
|
||||||
|
|
Loading…
Reference in New Issue