]> git.bitcoin.ninja Git - rust-lightning/commit
De-Option<> current_local_signed_commitment_tx in ChannelMonitor 2020-04-more-chanmon-cleanups
authorMatt Corallo <git@bluematt.me>
Sun, 19 Apr 2020 03:13:18 +0000 (23:13 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 23 Apr 2020 17:34:57 +0000 (13:34 -0400)
commit80055d4bb41b83428f74141c0140165add2609a7
tree1aaae83669bd029a4ab7163d8331557aacde189a
parent5d0bfa383425ecbf308fdf819dbf7ad19e6c5ca4
De-Option<> current_local_signed_commitment_tx in ChannelMonitor

Since we now are always initialised with an initial local commitment
transaction available now, we might as well take advantage of it and
stop using an Option<> where we don't need to.
lightning/src/ln/channel.rs
lightning/src/ln/channelmonitor.rs