]> git.bitcoin.ninja Git - rust-lightning/commit
Implement serialization for `[u16; 32]`, DRYing it with `[u8; *]`
authorMatt Corallo <git@bluematt.me>
Fri, 8 Sep 2023 17:47:43 +0000 (17:47 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 15 Sep 2023 17:20:38 +0000 (17:20 +0000)
commitf13073913816cf957a62c8bfa80541d9c1fa9ba6
tree41d08b5037623231b415a4824d9d224bfe5cc5c7
parentc74a581127eae1c7f08c0907f3ba1754b0308af2
Implement serialization for `[u16; 32]`, DRYing it with `[u8; *]`

In the next commit we'll need serialization for `[u16; 32]`, which
we add here, unifying it with the `[u8; *]` serialization macro.
lightning/src/util/ser.rs