Commit 654ab36
committed
pay: fix infinite loop when CLTV budget exceeded
When p->route is NULL (no route found), the adaptive splitter
was still trying to split payments, causing thousands of attempts
all failing for the same reason.
Fixes: #8167
Changelog-Fixed: pay: no longer loops infinitely when CLTV budget exceeded1 parent 10b10eb commit 654ab36
2 files changed
+31
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3692 | 3692 | | |
3693 | 3693 | | |
3694 | 3694 | | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
3695 | 3698 | | |
3696 | 3699 | | |
3697 | 3700 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
153 | 181 | | |
154 | 182 | | |
155 | 183 | | |
| |||
0 commit comments