Changelog-Fixed: Due to the imprecision of `htlc_max`'s type (`fp16_t`), `capacity_bias()` can return `NaN` in some cases. This leads to a runtime error when compiled with UBSan. Add a check against it.
120 KiB
120 KiB