Commit 390f5a1
committed
Fix: Ignore SCIDs when creating full-length blinded paths
Previously, the `compact_paths` flag was only used to determine whether to
use a compact introduction node when creating compact blinded paths.
With the upcoming change to accept `MessageForwardNode` in
`create_blinded_paths`, there's a risk of SCIDs being passed (and used)
even when the user intends to create a full-length blinded path.
This patch updates the logic in `create_blinded_paths_from_iter` to
ignore SCIDs unless `compact_paths` is explicitly true—preserving correct
behavior for full-length blinded paths.1 parent 830ffa0 commit 390f5a1
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
572 | 576 | | |
573 | 577 | | |
574 | 578 | | |
| |||
0 commit comments