diff --git a/pkg/network/message.go b/pkg/network/message.go index f17b62658..5934dba38 100644 --- a/pkg/network/message.go +++ b/pkg/network/message.go @@ -248,9 +248,6 @@ func (m *Message) Bytes() ([]byte, error) { if err := m.Encode(w.BinWriter); err != nil { return nil, err } - if w.Err != nil { - return nil, w.Err - } return w.Bytes(), nil }