doc: update BOLT quotes (to include preimage leakage).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-02-22 12:28:14 +10:30
parent 93d3b0d126
commit 36bf037ca7
3 changed files with 3 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ static void onchaind_tell_fulfill(struct channel *channel)
* for which it has committed to an outgoing HTLC:
* - MUST *resolve* the output by spending it, using the
* HTLC-success transaction.
* - MUST NOT reveal its own preimage when it's not the final recipient...
* - MUST resolve the output of that HTLC-success transaction.
* - otherwise:
* - if the *remote node* is NOT irrevocably committed to