Commit bd56ddf
committed
More completely ignore route hints which are for our own channels
When we see a channel come into the router as a route-hint, but its
for a direct channel of ours, we'd like to ignore the route-hint as
we have more information in the first-hop channel info. We do this
by matching SCIDs, but only considered outbound SCID aliases.
Here we change to consider both outbound SCID aliases and the full
channel SCID, which some nodes may use in their invoices.1 parent 1788f80 commit bd56ddf
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2332 | 2332 | | |
2333 | 2333 | | |
2334 | 2334 | | |
2335 | | - | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
2336 | 2338 | | |
2337 | 2339 | | |
2338 | 2340 | | |
| |||
0 commit comments