1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00
Added fix for duplicate word courtesy of @dimitris-t in #306.
This commit is contained in:
Shannon Appelcline 2017-12-08 11:07:16 -08:00 committed by Rusty Russell
parent 130bc5da2c
commit 978f3dfb01

View File

@ -411,7 +411,7 @@ The *maximum* size of _any_ Lightning message MUST NOT exceed `65535` bytes. A
maximum size of `65535` simplifies testing, makes memory management
easier, and helps mitigate memory-exhaustion attacks.
In order to make make traffic analysis more difficult, the length prefix for
In order to make traffic analysis more difficult, the length prefix for
all encrypted Lightning messages is also encrypted. Additionally a
16-byte `Poly-1305` tag is added to the encrypted length prefix in order to ensure
that the packet length hasn't been modified when in-flight and also to avoid