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