]> git.bitcoin.ninja Git - rust-lightning/commit
Fix `impl_writeable_tlv_based_enum` to not require `DecodeError`
authorMatt Corallo <git@bluematt.me>
Thu, 1 Dec 2022 19:14:43 +0000 (19:14 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 1 Dec 2022 19:14:43 +0000 (19:14 +0000)
commitfe3cf29595caa9e783aafaf603e1b55c380e4921
tree11185d630dddf77b8b55ea9bb1a3a403a6b0db1b
parent6c984bf50d2d22d979d5b4f7f75b5a6b428dc980
Fix `impl_writeable_tlv_based_enum` to not require `DecodeError`

`impl_writeable_tlv_based_enum` shouldn't be assuming that
`DecodeError` is in scope, which we address here.
lightning/src/util/ser_macros.rs