dont clash with MultiCodec

This commit is contained in:
Dmitriy Ryajov 2019-09-06 15:25:54 -06:00
parent 6086038b01
commit 100f6220b3
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ import connection,
const MsgSize* = 64*1024 const MsgSize* = 64*1024
const Codec* = "/multistream/1.0.0" const Codec* = "/multistream/1.0.0"
const MultiCodec* = "\x13" & Codec & "\n" const MSCodec* = "\x13" & Codec & "\n"
const Na = "\x03na\n" const Na = "\x03na\n"
const Ls = "\x03ls\n" const Ls = "\x03ls\n"
@ -37,7 +37,7 @@ type
proc newMultistream*(): MultisteamSelect = proc newMultistream*(): MultisteamSelect =
new result new result
result.codec = MultiCodec result.codec = MSCodec
result.ls = Ls result.ls = Ls
result.na = Na result.na = Na