1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

BOLT 8: fix trivial typo.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-05-11 11:16:05 +09:30
parent c0fa965036
commit 2800f12025

View File

@ -566,7 +566,7 @@ done:
* Let the encrypted length prefix be known as `lc`
* Decrypt `lc` using `ChaCha20-Poy1305`, `rn`, and `rk` to obtain size of
* Decrypt `lc` using `ChaCha20-Poly1305`, `rn`, and `rk` to obtain size of
the encrypted packet `l`.
* A zero-length byte slice is to be passed as the AD (associated data).
* The nonce `rn` MUST be incremented after this step.