Commit e93aa01
committed
Fix debug panic in full_stack fuzz test
d4bd56f changed the logic for calling
unset_funding_info such that it may be called on a channel that was
already in ChannelPhase::Funded when handling funding_signed. This
caused a debug panic in the full_stack fuzz test when calling
FundedChannel::unset_funding_info. Fix this by only calling
unset_funding_info on watch_channel error, as was previously the case.
This also reverts moving the channel back into
ChannelPhase::UnfundedOutboundV1, which should be fine since the channel
is about to be removed.1 parent 11d12d1 commit e93aa01
2 files changed
+7
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1412 | 1412 | | |
1413 | 1413 | | |
1414 | 1414 | | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
1423 | | - | |
1424 | | - | |
1425 | | - | |
1426 | | - | |
1427 | | - | |
1428 | | - | |
1429 | | - | |
1430 | | - | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
1434 | | - | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
1438 | 1415 | | |
1439 | 1416 | | |
1440 | 1417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8241 | 8241 | | |
8242 | 8242 | | |
8243 | 8243 | | |
8244 | | - | |
8245 | 8244 | | |
| 8245 | + | |
| 8246 | + | |
| 8247 | + | |
| 8248 | + | |
| 8249 | + | |
8246 | 8250 | | |
8247 | 8251 | | |
| 8252 | + | |
8248 | 8253 | | |
8249 | 8254 | | |
8250 | 8255 | | |
8251 | 8256 | | |
8252 | 8257 | | |
8253 | 8258 | | |
8254 | | - | |
8255 | | - | |
8256 | | - | |
8257 | | - | |
8258 | | - | |
8259 | | - | |
8260 | | - | |
8261 | | - | |
| 8259 | + | |
8262 | 8260 | | |
8263 | 8261 | | |
8264 | 8262 | | |
| |||
0 commit comments