diff --git a/common/buf/writer.go b/common/buf/writer.go index 85771cff5..4d26fb979 100644 --- a/common/buf/writer.go +++ b/common/buf/writer.go @@ -22,7 +22,7 @@ func (w *BufferToBytesWriter) WriteMultiBuffer(mb MultiBuffer) error { defer mb.Release() bs := mb.ToNetBuffers() - _, err := bs.WriteTo(w) + _, err := bs.WriteTo(w.Writer) return err }