rust-lightning/lightning
Duncan Dean 20cd856aa5
Remove OptionalField and move shutdown_scriptpubkey into TLV stream
As pointed out in https://github.com/lightning/bolts/pull/754/commits/6656b70,
we can move the `shutdown_scriptpubkey` field into the TLV streams of
`OpenChannel` and `AcceptChannel` without affecting the resulting encoding.

We use `WithoutLength` encoding here to ensure that we do not encode a
length prefix along with `Script` as is normally the case.
2023-05-02 10:24:16 +02:00
..
src Remove OptionalField and move shutdown_scriptpubkey into TLV stream 2023-05-02 10:24:16 +02:00
Cargo.toml Bump crate versions to 0.0.115/invoice 0.23 2023-04-24 22:40:17 +00:00