Skip to content

Commit

Permalink
Merge pull request #859 from LLFourn/patch-1
Browse files Browse the repository at this point in the history
per_commitment_secret must be a valid secret key
  • Loading branch information
TheBlueMatt authored Apr 12, 2021
2 parents 83980de + 55ee3f4 commit a9db80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 02-peer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit a9db80e

Please sign in to comment.