Bug that caused missed settled HTLC records after restart fixed, LND releases v0.21.8-beta
Odaily: LND developers have fixed a counter overflow vulnerability that could cause nodes to miss settled Hash Time-Locked Contract (HTLC) records after a restart. The fix was merged on November 5, and version v0.21.8-beta containing the fix was released on November 11. According to the developers, the 16-bit counter used to record the number of remote confirmed update entries would wrap to zero upon reaching 65,536 entries, which could cause the update list to be read as empty after a node restart. The fix includes rejecting overly long lists and restoring old records when validation conditions are met.
