| 217 | } |
| 218 | |
| 219 | static u64 get_htlc_min(struct gossmap *gossmap, |
| 220 | const struct gossmap_chan *chan, |
| 221 | int dir) |
| 222 | { |
| 223 | struct amount_msat msat; |
| 224 | gossmap_chan_get_update_details(gossmap, chan, dir, |
| 225 | NULL, NULL, NULL, NULL, NULL, NULL, &msat, NULL); |
| 226 | return msat.millisatoshis; /* Raw: compressed format */ |
| 227 | } |
| 228 | |
| 229 | static u64 get_htlc_max(struct gossmap *gossmap, |
| 230 | const struct gossmap_chan *chan, |
nothing calls this directly
no test coverage detected