bolt: update to 8b2cf0054660bece9e1004f42a500c6a1a77efd3

This contains only typo fixes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-08-02 12:54:25 +09:30
committed by Christian Decker
parent 8774070a31
commit 913a1a9b59
5 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ CCANDIR := ccan
# Where we keep the BOLT RFCs
BOLTDIR := ../lightning-rfc/
BOLTVERSION := d23f4b056c8ccc5234494c2431c901c455fa877f
BOLTVERSION := 8b2cf0054660bece9e1004f42a500c6a1a77efd3
-include config.vars

View File

@@ -2098,7 +2098,7 @@ static void check_current_dataloss_fields(struct peer *peer,
return;
/* BOLT #2:
* - if `next_remote_revocation_number` equals 0:
* - if `next_revocation_number` equals 0:
* - MUST set `your_last_per_commitment_secret` to all zeroes
*/
@@ -2231,7 +2231,7 @@ static void peer_reconnect(struct peer *peer,
* - 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

View File

@@ -52,7 +52,7 @@ struct sphinx_path;
* ## Legacy `hop_data` payload format
*
* The `hop_data` format is identified by a single `0x00`-byte length,
* for backward compatibility. It's payload is defined as:
* for backward compatibility. Its payload is defined as:
*
* 1. type: `hop_data` (for `realm` 0)
* 2. data:

View File

@@ -344,7 +344,7 @@ void peer_start_channeld(struct channel *channel,
/* BOLT #2:
*
* - 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

View File

@@ -247,7 +247,7 @@ void peer_start_closingd(struct channel *channel,
/* BOLT #2:
*
* - 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