mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
BOLT: update comment to indicate HTLC id must be completely unique.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -626,8 +626,8 @@ Pkt *accept_pkt_htlc_add(struct peer *peer, const Pkt *pkt)
|
|||||||
|
|
||||||
/* BOLT #2:
|
/* BOLT #2:
|
||||||
*
|
*
|
||||||
* A node MUST NOT set `id` equal to another HTLC which is in
|
* A node MUST set `id` to a unique identifier for this HTLC
|
||||||
* any unrevoked commitment transaction.
|
* amongst all past or future `update_add_htlc` messages.
|
||||||
*/
|
*/
|
||||||
/* Note that it's not *our* problem if they do this, it's
|
/* Note that it's not *our* problem if they do this, it's
|
||||||
* theirs (future confusion). Nonetheless, we detect and
|
* theirs (future confusion). Nonetheless, we detect and
|
||||||
|
|||||||
Reference in New Issue
Block a user