Test we consider route hints if we are the src of the first hop
authorElias Rohrer <dev@tnull.de>
Fri, 29 Sep 2023 14:44:20 +0000 (16:44 +0200)
committerElias Rohrer <dev@tnull.de>
Fri, 29 Sep 2023 18:22:05 +0000 (20:22 +0200)
commit3a8bf8975ec0d31b56242e0a712500e9c1d125bb
treef5fbb7511548344e5330afe22583e96ac81634be
parent154cd3c043ebcc323f0f98b8f22ad683d2771472
Test we consider route hints if we are the src of the first hop

Previously, we would only consider route hints if the entry point was
in our first hops or in the network graph. We fixed this by also
considering hints if our own node ID was the first src.

Here, we add test coverage for this behavior.
lightning/src/routing/router.rs