Remove null terminator from short message
Some checks failed
Benchmark BufferPool / RunBenchmarks (push) Failing after 18s
Run Tests / Test (push) Failing after 16s

AApparently the message does not use it
This commit is contained in:
2024-07-24 21:00:42 +02:00
parent 38976d6bc8
commit 31efd3fdef

View File

@@ -105,7 +105,6 @@ func (p *SUBMIT_SM) Encode(buf *bytes.Buffer) error {
return err
}
buf.Write(encodedMsg)
buf.Write(NULL_ARR)
return nil
}
func (p *SUBMIT_SM) Decode(buf *bytes.Buffer) error {