Fix deserialization of u16 arrays 2023-04-fix-bucket-deser
authorMatt Corallo <git@bluematt.me>
Sun, 16 Apr 2023 21:57:20 +0000 (21:57 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 16 Apr 2023 21:59:35 +0000 (21:59 +0000)
commit7775356c390886b6db4985e3d520b17b5b74df6e
tree53f72dbc80023b53ac89594bde26b0c243439b22
parente1e38196e2e8de7d3bc589930c662e05b98a20f7
Fix deserialization of u16 arrays

u16 arrays are used in the historical liquidity range tracker.
Previously, we read them without applying the stride multiple,
reading bytes repeatedly and at an offset, corrupting data as we
go.

This applies the correct stride multiplayer fixing the issue.
lightning/src/util/ser.rs