From 913a1a9b59404c1458d6f3044cced997ca7b3065 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 2 Aug 2019 12:54:25 +0930 Subject: [PATCH] bolt: update to 8b2cf0054660bece9e1004f42a500c6a1a77efd3 This contains only typo fixes. Signed-off-by: Rusty Russell --- Makefile | 2 +- channeld/channeld.c | 4 ++-- common/sphinx.h | 2 +- lightningd/channel_control.c | 2 +- lightningd/closing_control.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 2a8b0fed4..c6f40500e 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ CCANDIR := ccan # Where we keep the BOLT RFCs BOLTDIR := ../lightning-rfc/ -BOLTVERSION := d23f4b056c8ccc5234494c2431c901c455fa877f +BOLTVERSION := 8b2cf0054660bece9e1004f42a500c6a1a77efd3 -include config.vars diff --git a/channeld/channeld.c b/channeld/channeld.c index accb7e34c..5947cf7bf 100644 --- a/channeld/channeld.c +++ b/channeld/channeld.c @@ -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 diff --git a/common/sphinx.h b/common/sphinx.h index ed62d3dfb..d6fc81ef9 100644 --- a/common/sphinx.h +++ b/common/sphinx.h @@ -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: diff --git a/lightningd/channel_control.c b/lightningd/channel_control.c index aa9337ee2..05126d934 100644 --- a/lightningd/channel_control.c +++ b/lightningd/channel_control.c @@ -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 diff --git a/lightningd/closing_control.c b/lightningd/closing_control.c index 810f44325..5a8146b4f 100644 --- a/lightningd/closing_control.c +++ b/lightningd/closing_control.c @@ -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