Chain Future

Solidity, smart-contract development, developer tools and explained protocol engineering

LND fixes channel-record overflow that could affect accounting after restart

For builders running LND, the issue was how a node saved and restored payment-channel updates. As reported on November 17, 2026, Lightning Network developers had fixed a bug in which a 16-bit counter used to record the number of entries could wrap to zero at 65,536. After a restart, a node could then read the saved records as an empty list, potentially omitting settled hashed timelock contracts (HTLCs) and compromising the channel’s accounting integrity.

According to the developers, a connected peer could push the entry count toward that limit by repeatedly sending transaction-fee updates and commitment signatures while withholding the required revocation messages.

LND released v0.21.8-beta and v0.20.8-beta on November 11, 2026. The fixes add protection when writing records and validate older records when they are loaded.