]> git.bitcoin.ninja Git - rust-lightning/commit - src/ln/channelmanager.rs
Stop needlessly returning &HTLCSource out of Channel.
authorMatt Corallo <git@bluematt.me>
Thu, 22 Nov 2018 21:17:46 +0000 (16:17 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 23 Nov 2018 04:57:54 +0000 (23:57 -0500)
commitbac091cdb9cc01a7962dee3bdbc977e3bea0af0d
tree831448b595028317bcf80f20de5c8c2763e4c781
parent6032099469d03c785c2330029e1bb16171beef31
Stop needlessly returning &HTLCSource out of Channel.

This moves a clone() inside Channel from ChannelManager making
references simpler for the coming refactors.
src/ln/channel.rs
src/ln/channelmanager.rs