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