Commit b3e89c6
committed
Remove erroneous
Recent LDK changes made `skimmed_fee_msat` a required field of the LSPS
service handler's `payment_forwarded` API, which seemed reasonable given
that the field is available since LDK 0.0.122. However, when updating
LDK Node we introduced a `debug_assert` that checked the field to be
*always* set, which is wrong, as it's only set post-0.0.122 *if* there
was some fee skimmed. Here we fix this oversight.debug_assert when handling PaymentForwarded
1 parent 121dadb commit b3e89c6
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1289 | 1289 | | |
1290 | 1290 | | |
1291 | 1291 | | |
1292 | | - | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
1298 | | - | |
1299 | | - | |
1300 | | - | |
1301 | | - | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
1302 | 1296 | | |
1303 | 1297 | | |
1304 | 1298 | | |
| |||
0 commit comments