Update channel-type implementation to upstream spec as merged 2022-02-accept_chan_type
authorMatt Corallo <git@bluematt.me>
Wed, 16 Feb 2022 21:34:16 +0000 (21:34 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 16 Feb 2022 21:34:16 +0000 (21:34 +0000)
commit6d7ae6e174fff61545d04b75b01c3cf36e9101c1
treebecdffb7ad90680da5cc3c2d55d2f79f9ec4740e
parent92556c868dd51ac09ab7c5bed5e515888e71bb3f
Update channel-type implementation to upstream spec as merged

Somehow, our channel type implementation doesn't echo back the
channel type as we believe it was negotiated, as we should. Though
the spec doesn't explicitly require this, some implementations may
require it and it appears to have been in the BOLTs from the start
of the channel type logic.
lightning/src/ln/channel.rs
lightning/src/ln/msgs.rs