mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
Makefile: update bolts a0bbe47b0278b4f152dbaa4f5fab2562413a217c
"BOLT 04: remove associated data from test vector" (We actually use merge point). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -137,9 +137,9 @@ void htlc_set_add(struct lightningd *ld,
|
||||
else {
|
||||
/* BOLT #4:
|
||||
*
|
||||
* if it supports `basic_mpp`:
|
||||
* otherwise, if it supports `basic_mpp`:
|
||||
* ...
|
||||
* - otherwise, if the total `amount_msat` of this HTLC set is
|
||||
* - otherwise, if the total `amt_to_forward` of this HTLC set is
|
||||
* less than `total_msat`:
|
||||
* ...
|
||||
* - MUST require `payment_secret` for all HTLCs in the set.
|
||||
@@ -199,7 +199,7 @@ void htlc_set_add(struct lightningd *ld,
|
||||
);
|
||||
|
||||
/* BOLT #4:
|
||||
* - if the total `amount_msat` of this HTLC set is equal to or greater than
|
||||
* - if the total `amt_to_forward` of this HTLC set is equal to or greater than
|
||||
* `total_msat`:
|
||||
* - SHOULD fulfill all HTLCs in the HTLC set
|
||||
*/
|
||||
@@ -211,7 +211,7 @@ void htlc_set_add(struct lightningd *ld,
|
||||
}
|
||||
|
||||
/* BOLT #4:
|
||||
* - otherwise, if the total `amount_msat` of this HTLC set is less than
|
||||
* - otherwise, if the total `amt_to_forward` of this HTLC set is less than
|
||||
* `total_msat`:
|
||||
* - MUST NOT fulfill any HTLCs in the HTLC set
|
||||
*...
|
||||
|
||||
@@ -1029,7 +1029,7 @@ send_payment_core(struct lightningd *ld,
|
||||
|
||||
/* BOLT #4:
|
||||
*
|
||||
* - MUST NOT send another HTLC if the total `amount_msat` of the HTLC
|
||||
* - MUST NOT send another HTLC if the total `amt_to_forward` of the HTLC
|
||||
* set is already greater or equal to `total_msat`.
|
||||
*/
|
||||
/* We don't do this for single 0-value payments (sendonion does this) */
|
||||
|
||||
Reference in New Issue
Block a user