mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-23 11:48:33 +00:00
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 =
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user