pool: daemon crashes if unable to reconcile local order state w/ a replaced pending batch
Roasbeef opened this issue · 0 comments
Roasbeef commented
Reported by a Lightning Terminal user:
[ERR] LITD: Could not start subservers: unable to start account manager: unable to resume account X: unable to subscribe for account updates: checking pending batch failed: error removing pending batch artifacts: error abandoning channels from previous pending batch: error locating channel outpoint: no channel output found in batch tx for matched order Y
The start of the failed code path is here: https://github.com/lightninglabs/pool/blob/master/auctioneer/client.go#L579-L587
We go to abandon the channel shims we have have created:
Lines 999 to 1005 in 3e49f4c
Ultimately failing here when it can't find an output its looking for in the batch execution transaction:
Lines 95 to 105 in 3e49f4c