]> git.bitcoin.ninja Git - rust-lightning/commit
Limit the scope of `get_funding_created_msg` to outbound channels
authorMatt Corallo <git@bluematt.me>
Thu, 30 Nov 2023 00:48:37 +0000 (00:48 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 8 Dec 2023 02:22:03 +0000 (02:22 +0000)
commit8e519b56d6c4c9fe397bb73dacce059d5db7703a
treee0664f5415249a6892b2285a8e40fb9785d20cc6
parent6ab56a40bebe88498dbbc42812ecc493d9553ae3
Limit the scope of `get_funding_created_msg` to outbound channels

Since we no longer use `ChannelContext::get_funding_created_msg`,
it can be moved back into `UnfundedOutboundV1` channels only,
where it realistically belongs.
lightning/src/ln/channel.rs