]> git.bitcoin.ninja Git - rust-lightning/commit
Remove MsgHandleErrInternal::from_chan_maybe_close as it's useless
authorMatt Corallo <git@bluematt.me>
Fri, 23 Nov 2018 00:38:28 +0000 (19:38 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 23 Nov 2018 04:57:54 +0000 (23:57 -0500)
commitfe3d706d5b35c7ace87ebc7f529b98b727ffb18f
tree13f635c36e0313baa1d0ba57a30d9f730c681dd6
parent032f20275b1cbda3eb096191e159cceda33d5c53
Remove MsgHandleErrInternal::from_chan_maybe_close as it's useless

Technically funding_transaction_generated was fine using it, but
calling force_shutdown on an empty Channel inside the channel_state
lock isn't a big deal and almost any other use of it would be
unsafe.
src/ln/channel.rs
src/ln/channelmanager.rs