Skip to content

Commit 55ee3f4

Browse files
authored
per_commitment_secret must be a valid secret key
See #832
1 parent b201efe commit 55ee3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02-peer-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ A sending node:
10801080
transaction.
10811081

10821082
A receiving node:
1083-
- if `per_commitment_secret` does not generate the previous `per_commitment_point`:
1083+
- if `per_commitment_secret` is not a valid secret key or does not generate the previous `per_commitment_point`:
10841084
- MUST fail the channel.
10851085
- if the `per_commitment_secret` was not generated by the protocol in [BOLT #3](03-transactions.md#per-commitment-secret-requirements):
10861086
- MAY fail the channel.

0 commit comments

Comments
 (0)