Correct default value for A* heuristic for non-public nodes
authorMatt Corallo <git@bluematt.me>
Thu, 10 Feb 2022 21:33:26 +0000 (21:33 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 28 Feb 2022 22:07:54 +0000 (22:07 +0000)
commitbd1b761655f549daee6b5d2920227ab7bd493b89
tree0c415271f1513df26e37a76bfadc33eafa224624
parent19ebc8081ae2783355a14c45c5cc2a6144fed2c1
Correct default value for A* heuristic for non-public nodes

This doesn't (appear) to change behavior, however if we have a
non-public node, we assign an A* heuristic of max-u32 fees, which
may result in us de-prioritizing the path in some rare cases around
multi-hop route hints which compete with public nodes.
lightning/src/routing/router.rs