]> git.bitcoin.ninja Git - rust-lightning/commit
Remove unnecessary `per_peer_state` branch
authorViktor Tigerström <11711198+ViktorTigerstrom@users.noreply.github.com>
Fri, 10 Jun 2022 00:01:36 +0000 (02:01 +0200)
committerMatt Corallo <git@bluematt.me>
Mon, 9 Jan 2023 19:42:52 +0000 (19:42 +0000)
commit209394195ffc88dd9a489e31350f507abcbda797
tree776793bf40b67e8a33e0fbc4a21f789258fa63a4
parent56b1067b921e03d0d35c6a16453acbba1889e42e
Remove unnecessary `per_peer_state` branch

After `channels` are now stored in the `per_peer_state`, some logic can
be simplified and extra accessing of the `per_peer_state` can be
removed.
lightning/src/ln/channelmanager.rs