]> git.bitcoin.ninja Git - rust-lightning/commit
Avoid calling OnchainTx::block_disconnected if no block was discon'd
authorMatt Corallo <git@bluematt.me>
Fri, 25 Jun 2021 04:14:50 +0000 (04:14 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 2 Jul 2021 17:16:12 +0000 (17:16 +0000)
commit697033342e3f5cb8bb524843c409ede8a39368c1
tree2c8af5dbecf4b3b99950203caa6ec8b95876c006
parent4074909f04e8e6d28dcfe6b5a3cae2418658ffb7
Avoid calling OnchainTx::block_disconnected if no block was discon'd

There are no visible effects of this, but it seems like good code
hygiene to not call a disconnect function in a different file if no
disconnect happened.
lightning/src/chain/channelmonitor.rs