mirror of
https://github.com/lightning/bolts.git
synced 2025-02-21 22:11:54 +01:00
Merge pull request #859 from LLFourn/patch-1
per_commitment_secret must be a valid secret key
This commit is contained in:
commit
a9db80e49d
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue