]> git.bitcoin.ninja Git - rust-lightning/commit
De-Option<> some fields in ChannelMonitor which are set at init 2020-04-cleanups
authorMatt Corallo <git@bluematt.me>
Sun, 19 Apr 2020 01:33:54 +0000 (21:33 -0400)
committerMatt Corallo <git@bluematt.me>
Sun, 19 Apr 2020 02:02:38 +0000 (22:02 -0400)
commitc89514c37c8c2632cb32f1fb00764f9d7f2ce7f8
tree8aa85b76a742048300c077c6ea707ab846844d11
parentf5b0663f6a8f437c8d86433a07cb5aeca53b8c86
De-Option<> some fields in ChannelMonitor which are set at init

After we moved the ChannelMonitor creation later during Channel
init, we never went back and cleaned up ChannelMonitor to remove
a number of now-useless Option<>s, so we do that now.
lightning/src/ln/channelmanager.rs
lightning/src/ln/channelmonitor.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs
lightning/src/util/macro_logger.rs