We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc1eab8 commit ebb0b57Copy full SHA for ebb0b57
channeld/channeld.c
@@ -272,18 +272,6 @@ static struct amount_msat advertized_htlc_max(const struct channel *channel)
272
&lower_bound));
273
}
274
275
- if (amount_msat_greater(lower_bound_msat, chainparams->max_payment))
276
- /* BOLT #7:
277
- *
278
- * The origin node:
279
- * ...
280
- * - if the `htlc_maximum_msat` field is present:
281
282
- * - for channels with `chain_hash` identifying the Bitcoin blockchain:
283
- * - MUST set this to less than 2^32.
284
- */
285
- lower_bound_msat = chainparams->max_payment;
286
-
287
return lower_bound_msat;
288
289
0 commit comments