Helper to create (common) WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS */
| 284 | |
| 285 | /* Helper to create (common) WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS */ |
| 286 | const u8 *failmsg_incorrect_or_unknown(const tal_t *ctx, |
| 287 | struct lightningd *ld, |
| 288 | struct amount_msat msat) |
| 289 | { |
| 290 | return towire_incorrect_or_unknown_payment_details( |
| 291 | ctx, msat, |
| 292 | get_block_height(ld->topology)); |
| 293 | } |
| 294 | |
| 295 | /* localfail are for handing to the local payer if it's local. */ |
| 296 | static void fail_out_htlc(struct htlc_out *hout, const char *localfail) |
no test coverage detected