]> git.bitcoin.ninja Git - rust-lightning/commit
Fix inbound zero-conf
authorChris Waterson <waterson@gmail.com>
Sun, 24 Sep 2023 14:34:08 +0000 (07:34 -0700)
committerChris Waterson <waterson@gmail.com>
Wed, 25 Oct 2023 16:26:34 +0000 (09:26 -0700)
commit4ef8d92a94f857520e151752f808ffece2e952e1
tree11828b2b7c863bd8b119dbb23389ebc7d292fd55
parentdc6e0f44521b75d56988b895fb678cd11d31f98c
Fix inbound zero-conf

When we receive an inbound zero-conf channel, we need to defer sending the
`channel_ready` message until *after* we've sent the `funding_signed`
message. We won't be able to produce the `funding_signed` message until the
signer has produced the counterparty commitment signature.
lightning/src/ln/async_signer_tests.rs
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs