Commit d0f7f4e
f - Preserve funding details when a splice candidate is replaced
The TxReplaced wallet event rebuilt the payment record from scratch,
dropping its funding details. When a wallet sync fell between a splice
broadcast and its RBF, the replacement of the original candidate cleared
those details, so the payment no longer graduated to Succeeded on
ChannelReady. Funding records are managed by the classify path and the
Lightning lifecycle handlers, so leave them untouched on replacement.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent cec878e commit d0f7f4e
2 files changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
413 | 425 | | |
414 | 426 | | |
415 | 427 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1218 | 1218 | | |
1219 | 1219 | | |
1220 | 1220 | | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
1221 | 1239 | | |
1222 | 1240 | | |
1223 | 1241 | | |
| |||
0 commit comments