Helper to create (common) WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS */
| 328 | |
| 329 | /* Helper to create (common) WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS */ |
| 330 | const u8 *failmsg_incorrect_or_unknown(const tal_t *ctx, |
| 331 | struct lightningd *ld, |
| 332 | struct amount_msat msat) |
| 333 | { |
| 334 | return towire_incorrect_or_unknown_payment_details( |
| 335 | ctx, msat, |
| 336 | get_block_height(ld->topology)); |
| 337 | } |
| 338 | |
| 339 | /* localfail are for handing to the local payer if it's local. */ |
| 340 | static void fail_out_htlc(struct htlc_out *hout, const char *localfail) |
no test coverage detected