mirror of https://github.com/vacp2p/nim-libp2p.git
Fix typo
This commit is contained in:
parent
5b6f4bf5fa
commit
3531ebf772
|
@ -26,7 +26,7 @@ type
|
||||||
InvalidVarintException = object of LPStreamError
|
InvalidVarintException = object of LPStreamError
|
||||||
|
|
||||||
proc newInvalidVarintException*(): ref InvalidVarintException =
|
proc newInvalidVarintException*(): ref InvalidVarintException =
|
||||||
newException(InvalidVarintException, "unable to prase varint")
|
newException(InvalidVarintException, "unable to parse varint")
|
||||||
|
|
||||||
proc init*[T: Connection](self: var T, stream: LPStream) =
|
proc init*[T: Connection](self: var T, stream: LPStream) =
|
||||||
## create a new Connection for the specified async reader/writer
|
## create a new Connection for the specified async reader/writer
|
||||||
|
|
Loading…
Reference in New Issue