mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 16:14:26 +01:00
We weren't incrementing the `col` for the `local_shutdown_idx` field, which meant that all following fields were incorrect. I removed the `col` computation and opted for absolute indices instead, since they are way less brittle. Just remember to add new fields to the query at the end so we don't have to shift too often :-) Reported-by: William Casarin @jb55 Signed-off-by: Christian Decker <decker.christian@gmail.com>