diff --git a/libp2p/multistream.nim b/libp2p/multistream.nim index fcb0e88..a15e6cf 100644 --- a/libp2p/multistream.nim +++ b/libp2p/multistream.nim @@ -52,7 +52,7 @@ proc select*(m: MultisteamSelect, ## select a remote protocol await conn.write(m.codec) # write handshake if proto.len() > 0: - info "selecting proto", proto = proto + trace "selecting proto", proto = proto await conn.writeLp((proto[0] & "\n")) # select proto result = cast[string](await conn.readLp()) # read ms header @@ -65,14 +65,14 @@ proc select*(m: MultisteamSelect, return result = cast[string](await conn.readLp()) # read the first proto - info "reading first requested proto" + trace "reading first requested proto" result.removeSuffix("\n") if result == proto[0]: debug "succesfully selected ", proto = proto return if not result.len > 0: - info "selecting one of several protos" + trace "selecting one of several protos" for p in proto[1..