Commit a3d48bab authored by Steven Allen's avatar Steven Allen

fix: remove deprecated log.Warning call

parent cc91029f
......@@ -198,7 +198,7 @@ func (bh *BlankHost) SetStreamHandlerMatch(pid protocol.ID, m func(string) bool,
func (bh *BlankHost) newStreamHandler(s network.Stream) {
protoID, handle, err := bh.Mux().Negotiate(s)
if err != nil {
log.Warning("protocol mux failed: %s", err)
log.Infow("protocol negotiation failed", "error", err)
s.Close()
return
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment