1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-02-21 22:11:54 +01:00

per_commitment_secret must be a valid secret key

See #832
This commit is contained in:
Lloyd Fournier 2021-03-31 14:28:36 +11:00 committed by GitHub
parent b201efe054
commit 55ee3f406d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.