diff --git a/n_helpers.c b/n_helpers.c index 70b963eb..b37633d9 100644 --- a/n_helpers.c +++ b/n_helpers.c @@ -337,7 +337,7 @@ uint32_t NoteBinaryMaxDecodedLength(uint32_t bufferSize) /**************************************************************************/ uint32_t NoteBinaryMaxEncodedLength(uint32_t unencodedLength) { - return cobsEncodedMaxLength(unencodedLength)+1; + return cobsEncodedMaxLength(unencodedLength); } //**************************************************************************/