We can notify others of what the details are, so they can do their own * layer heuristics. */
| 621 | /* We can notify others of what the details are, so they can do their own |
| 622 | * layer heuristics. */ |
| 623 | static void json_add_attempt_fields(struct json_stream *js, |
| 624 | const struct attempt *attempt) |
| 625 | { |
| 626 | /* These three uniquely identify this attempt */ |
| 627 | json_add_sha256(js, "payment_hash", &attempt->payment->payment_hash); |
| 628 | json_add_u64(js, "groupid", attempt->payment->group_id); |
| 629 | json_add_u64(js, "partid", attempt->partid); |
| 630 | } |
| 631 | |
| 632 | static void outgoing_notify_start(const struct attempt *attempt) |
| 633 | { |
no test coverage detected