Also add route hints if we are the source
authorElias Rohrer <dev@tnull.de>
Fri, 22 Sep 2023 13:56:07 +0000 (15:56 +0200)
committerElias Rohrer <dev@tnull.de>
Thu, 28 Sep 2023 17:45:29 +0000 (19:45 +0200)
commit7a6d3097a6aa59b5aa2e8e83527cd3ee79560750
treea735ee34566fcea7c4be52c0e51ff2397e4476d5
parenta8eef297fceacc0ca984c28cd5114b1ec08d8b7e
Also add route hints if we are the source

Previously, we would only consider route hints if we had a direct
channel to the first node in the hint or if the first node in the hint
was part of the public network graph.

However, this left out the possiblity of us being part of the first hop,
especially if our own node is not announced and part of the graph.
lightning/src/routing/router.rs