Article

Lightning Network node LND fixes bug that omitted settled payments after restart

BlockBeats news, November 17: The developers of the Lightning Network node software LND have fixed a counter overflow bug that could cause nodes to omit records of settled hash time-locked contracts (HTLCs) after a restart. The fix code was merged on November 5, and LND released version v0.21.8-beta containing the fix on November 11.

The developers explained that the 16-bit counter used to record the number of remotely confirmed update entries resets to zero upon reaching 65,536 entries, and after a node restart the update list may be read as empty. The fix measures include rejecting overly long lists and restoring old records when validation conditions are met.