Closed sdbondi closed 1 year ago
Clarifies empty body rules for EnvelopeBody
In the encrypted case, a valid node should discard a message if the encoded EnvelopeBody is zero-sized. A cleartext EnvelopeBody may be zero-sized as this is valid proto3 encoding.
EnvelopeBody
Ref https://github.com/tari-project/tari/pull/5130
Description
Clarifies empty body rules for EnvelopeBody
Motivation and Context
In the encrypted case, a valid node should discard a message if the encoded
EnvelopeBody
is zero-sized. A cleartextEnvelopeBody
may be zero-sized as this is valid proto3 encoding.Ref https://github.com/tari-project/tari/pull/5130