]> git.bitcoin.ninja Git - rust-lightning/commit
Convert `ChannelDetails::from_channel` to `ChannelDetails::from_channel_context`
authorDuncan Dean <git@dunxen.dev>
Wed, 7 Jun 2023 09:03:46 +0000 (11:03 +0200)
committerDuncan Dean <git@dunxen.dev>
Wed, 14 Jun 2023 14:04:27 +0000 (16:04 +0200)
commit25c1ad8e1918ee985f39b2df8714df96cad2eae6
tree55bada1444b590f6dfeb34ce0dd9c6ad75c40c93
parent60706d6338854ef3a6d41ec8e500826ca0ee1f9e
Convert `ChannelDetails::from_channel` to `ChannelDetails::from_channel_context`

This rename and refactor is so that we can get channel details from a
`ChannelContext` which is a common object to all channels.
lightning/src/ln/channelmanager.rs