]> git.bitcoin.ninja Git - rust-lightning/commit
Lean on `Logger` wrapping in `ChannelMonitor` rather than in channel
authorMatt Corallo <git@bluematt.me>
Sat, 2 Dec 2023 04:18:30 +0000 (04:18 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 3 Dec 2023 20:06:18 +0000 (20:06 +0000)
commitde480d02122b25a9c3215af90613abfe4736282f
tree78fb56faa369e3981fdf156418e3a0578f3a066a
parent65e37fdc2909d9c8bb86ca4872725f9175aefd99
Lean on `Logger` wrapping in `ChannelMonitor` rather than in channel

Now that `ChannelMonitor` is careful about wrapping `Logger`s at
the edge, there's no need to use `WithChannelMonitor` in a few
cases in `channel.rs` and one in `channelmanager.rs`.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs