| 107 | } |
| 108 | |
| 109 | static inline bool routekey_equal(const struct route *route, |
| 110 | const struct routekey *k) |
| 111 | { |
| 112 | return route->key.partid == k->partid && |
| 113 | route->key.groupid == k->groupid && |
| 114 | sha256_eq(&route->key.payment_hash, &k->payment_hash); |
| 115 | } |
| 116 | |
| 117 | HTABLE_DEFINE_NODUPS_TYPE(struct route, route_get_key, routekey_hash, routekey_equal, |
| 118 | route_map); |
nothing calls this directly
no outgoing calls
no test coverage detected