File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -286,19 +286,18 @@ func (u *UtxoNursery) Start() error {
286
286
// 2. Restart spend ntfns for any preschool outputs, which are waiting
287
287
// for the force closed commitment txn to confirm, or any second-layer
288
288
// HTLC success transactions.
289
- //
290
- // NOTE: The next two steps *may* spawn go routines, thus from this
291
- // point forward, we must close the nursery's quit channel if we detect
292
- // any failures during startup to ensure they terminate.
289
+ // NOTE: The next two steps *may* spawn go routines.
293
290
if err := u .reloadPreschool (); err != nil {
294
- close (u .quit )
291
+ utxnLog .Errorf ("Failed to reload preschool: %v" , err )
292
+
295
293
return err
296
294
}
297
295
298
296
// 3. Replay all crib and kindergarten outputs up to the current best
299
297
// height.
300
298
if err := u .reloadClasses (uint32 (bestHeight )); err != nil {
301
- close (u .quit )
299
+ utxnLog .Errorf ("Failed to reload class: %v" , err )
300
+
302
301
return err
303
302
}
304
303
@@ -309,7 +308,8 @@ func (u *UtxoNursery) Start() error {
309
308
Hash : bestHash ,
310
309
})
311
310
if err != nil {
312
- close (u .quit )
311
+ utxnLog .Errorf ("RegisterBlockEpochNtfn failed: %v" , err )
312
+
313
313
return err
314
314
}
315
315
Original file line number Diff line number Diff line change 39
39
40
40
- [ Fixed] ( https://github.com/lightningnetwork/lnd/pull/10035 ) a deadlock (writer starvation) in the switch.
41
41
42
+ - Fixed a [ case] ( https://github.com/lightningnetwork/lnd/pull/10045 ) that a
43
+ panic may happen which prevents the node from starting up.
44
+
42
45
# New Features
43
46
44
47
## Functional Enhancements
You can’t perform that action at this time.
0 commit comments