mirror of https://github.com/vacp2p/nim-libp2p.git
db64bd100e
The error in the code was that the `vsizeof(n)` was called with a dummy zeroed variable, instead of the proper size of the buffer. This resulted in an assertion failure when the prefix length needs to be stored in more than 1 byte. |
||
---|---|---|
.. | ||
minprotobuf.nim |