| 1199 | } |
| 1200 | |
| 1201 | bool gossmap_local_setchan(struct gossmap_localmods *localmods, |
| 1202 | struct short_channel_id scid, |
| 1203 | struct amount_msat htlc_min, |
| 1204 | struct amount_msat htlc_max, |
| 1205 | struct amount_msat base_fee, |
| 1206 | u32 proportional_fee, |
| 1207 | u16 delay, |
| 1208 | bool enabled, |
| 1209 | int dir) |
| 1210 | { |
| 1211 | struct short_channel_id_dir scidd = {scid, dir}; |
| 1212 | return gossmap_local_updatechan(localmods, &scidd, |
| 1213 | &enabled, |
| 1214 | &htlc_min, &htlc_max, |
| 1215 | &base_fee, &proportional_fee, |
| 1216 | &delay); |
| 1217 | } |
| 1218 | |
| 1219 | /* Apply localmods to this map */ |
| 1220 | void gossmap_apply_localmods(struct gossmap *map, |