@@ -1181,16 +1181,17 @@ handling by the processing node.
1181
1181
* [ ` u32 ` :` height ` ]
1182
1182
1183
1183
The ` payment_hash ` is unknown to the final node, the ` payment_secret ` doesn't
1184
- match the ` payment_hash ` , the amount for that ` payment_hash ` is incorrect ,
1184
+ match the ` payment_hash ` , the amount for that ` payment_hash ` is too low ,
1185
1185
the CLTV expiry of the htlc is too close to the current block height for safe
1186
1186
handling or ` payment_metadata ` isn't present while it should be.
1187
1187
1188
1188
The ` htlc_msat ` parameter is superfluous, but left in for backwards
1189
- compatibility. The value of ` htlc_msat ` always matches the amount specified in
1190
- the final hop onion payload. It therefore does not have any informative value to
1191
- the sender. A penultimate hop sending a different amount or expiry for the htlc
1192
- is handled through ` final_incorrect_cltv_expiry ` and
1193
- ` final_incorrect_htlc_amount ` .
1189
+ compatibility. The value of ` htlc_msat ` is required to be at least the value
1190
+ specified in the final hop onion payload. It therefore does not have any
1191
+ substantial informative value to the sender (though may indicate the
1192
+ penultimate node took a lower fee than expected). A penultimate hop sending an
1193
+ amount or an expiry that is too low for the htlc is handled through
1194
+ ` final_incorrect_cltv_expiry ` and ` final_incorrect_htlc_amount ` .
1194
1195
1195
1196
The ` height ` parameter is set by the final node to the best known block height
1196
1197
at the time of receiving the htlc. This can be used by the sender to distinguish
@@ -1212,13 +1213,13 @@ failures now represented by `incorrect_or_unknown_payment_details` (PERM|15).
1212
1213
2 . data:
1213
1214
* [ ` u32 ` :` cltv_expiry ` ]
1214
1215
1215
- The CLTV expiry in the HTLC doesn't match the value in the onion.
1216
+ The CLTV expiry in the HTLC is less than the value in the onion.
1216
1217
1217
1218
1 . type: 19 (` final_incorrect_htlc_amount ` )
1218
1219
2 . data:
1219
1220
* [ ` u64 ` :` incoming_htlc_amt ` ]
1220
1221
1221
- The amount in the HTLC doesn't match the value in the onion.
1222
+ The amount in the HTLC is less than the value in the onion.
1222
1223
1223
1224
1 . type: UPDATE|20 (` channel_disabled ` )
1224
1225
2 . data:
0 commit comments