]> 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)
committerViktor Tigerström <11711198+ViktorTigerstrom@users.noreply.github.com>
Mon, 9 Jan 2023 22:50:41 +0000 (23:50 +0100)
commitb8ca7c9256067c4bb4f2cbbda8e58209020cd0d2
tree1da1ea18a9280b7bb64ac7ea11616366a0252154
parent1ab25a086af3703c2ad21f7becb00a5d01769691
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