| 44 | } |
| 45 | |
| 46 | static struct command_result *routefail_end(struct routefail *r TAKES) |
| 47 | { |
| 48 | /* Notify the tracker that route has failed and routefail have completed |
| 49 | * handling all possible errors cases. */ |
| 50 | struct command *cmd = r->cmd; |
| 51 | route_failure_register(r->payment->routetracker, r->route); |
| 52 | if (taken(r)) |
| 53 | r = tal_steal(tmpctx, r); |
| 54 | return notification_handled(cmd); |
| 55 | } |
| 56 | |
| 57 | /***************************************************************************** |
| 58 | * update_gossip |
no test coverage detected