]> git.bitcoin.ninja Git - rust-lightning/commit
Remove unreachable BroadcastChannelUpdate
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 9 Aug 2021 20:15:12 +0000 (15:15 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 9 Aug 2021 20:56:10 +0000 (15:56 -0500)
commitf1c07b5573a75b00f178c4d8c2a637e29d5acaa6
tree8981b76b39e1e3d7531eb1b7b6bc86bb9accb703
parentecb0b842416dcf6fba0174ad5fcc173b3001825c
Remove unreachable BroadcastChannelUpdate

When handling shutdown messages, Channel cannot move to
ChannelState::ShutdownComplete. Remove the code in ChannelManager that
adds a MessageSendEvent::BroadcastChannelUpdate in this case since it is
unreachable.
lightning/src/ln/channelmanager.rs