Helper to create (common) WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS */
| 202 | |
| 203 | /* Helper to create (common) WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS */ |
| 204 | const u8 *failmsg_incorrect_or_unknown_(const tal_t *ctx, |
| 205 | struct lightningd *ld, |
| 206 | const struct htlc_in *hin, |
| 207 | const char *file, int line) |
| 208 | { |
| 209 | log_debug(ld->log, "WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS: %s:%u", |
| 210 | file, line); |
| 211 | return towire_incorrect_or_unknown_payment_details( |
| 212 | ctx, hin->msat, |
| 213 | get_block_height(ld->topology)); |
| 214 | } |
| 215 | |
| 216 | /* localfail are for handing to the local payer if it's local. */ |
| 217 | static void fail_out_htlc(struct htlc_out *hout, const char *localfail) |
nothing calls this directly
no test coverage detected