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

BOLT 2: correct next_remote_revocation_number to next_revocation_number (#652)

This commit is contained in:
Hiroki Gondo 2019-07-29 16:31:07 +09:00 committed by Bastien Teinturier
parent 3da8923453
commit 44c6071d18

View File

@ -1167,7 +1167,7 @@ The sending node:
- MUST set `next_revocation_number` to the commitment number of the
next `revoke_and_ack` message it expects to receive.
- if it supports `option_data_loss_protect`:
- if `next_remote_revocation_number` equals 0:
- if `next_revocation_number` equals 0:
- MUST set `your_last_per_commitment_secret` to all zeroes
- otherwise:
- MUST set `your_last_per_commitment_secret` to the last `per_commitment_secret`