From 55ee3f406df10a3d8741e0cabe7e995ec86c81f9 Mon Sep 17 00:00:00 2001 From: Lloyd Fournier Date: Wed, 31 Mar 2021 14:28:36 +1100 Subject: [PATCH] per_commitment_secret must be a valid secret key See #832 --- 02-peer-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02-peer-protocol.md b/02-peer-protocol.md index f9dc393..974e51e 100644 --- a/02-peer-protocol.md +++ b/02-peer-protocol.md @@ -1080,7 +1080,7 @@ A sending node: transaction. A receiving node: - - if `per_commitment_secret` does not generate the previous `per_commitment_point`: + - if `per_commitment_secret` is not a valid secret key or does not generate the previous `per_commitment_point`: - MUST fail the channel. - if the `per_commitment_secret` was not generated by the protocol in [BOLT #3](03-transactions.md#per-commitment-secret-requirements): - MAY fail the channel.