The scariest way for a Lightning Network routing node to lose money isn’t getting hacked—it’s paying out first, then discovering that the proof needed to claim the money back never made it to disk.

I read the technical postmortem: after an incoming channel was force-closed, the node put the claim for an incoming payment in memory while it was still being written to disk. A separate “channel closed” record finished writing first, so the program mistakenly assumed the claim had been saved and let the outgoing side discard its copy. At that point, if the node crashes and the on-chain claim isn’t confirmed before it expires, the forwarded payment becomes a net loss.

The patch was merged into the main branch on November 23, but so far I haven’t seen a stable release that clearly includes it. In other words, you might think you’re running the fixed code when you’re actually running a build that only looks fine. Before collecting forwarding fees, check your dependency lockfile.

#比特币 #闪电网络 #链上安全 #Web3 $BTC $ETH $SOL