Move `short_to_chan_info` into standalone lock
authorViktor Tigerström <11711198+ViktorTigerstrom@users.noreply.github.com>
Tue, 26 Jul 2022 20:59:24 +0000 (22:59 +0200)
committerViktor Tigerström <11711198+ViktorTigerstrom@users.noreply.github.com>
Fri, 4 Nov 2022 19:26:47 +0000 (20:26 +0100)
commitc82a65a1f695c76dfd78f2a07ee120f8a84b8dc7
tree3a1f04d068ff87b28850dc85934c1de591322f90
parent8f525c4390882ccda3380c75f681898c8e492e80
Move `short_to_chan_info` into standalone lock

As the `channel_state` (`ChannelHolder`) struct will be removed, this
commit moves the `short_to_chan_info` map from that lock into a seperate
lock.
lightning/src/ln/channelmanager.rs
lightning/src/ln/reorg_tests.rs