]> git.bitcoin.ninja Git - rust-lightning/commit
Split only-receive/forward data out of PendingHTLCInfo into an enum
authorMatt Corallo <git@bluematt.me>
Wed, 1 Jan 2020 22:39:51 +0000 (17:39 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 14 Apr 2020 23:54:17 +0000 (19:54 -0400)
commitf26e3733965c79dafda751edbceb14291bf6824b
tree5d1249b5982c0777053bcedab269aa885dcae4a4
parente8a8fd0fb060a95cccc9e24c1c557046330da282
Split only-receive/forward data out of PendingHTLCInfo into an enum

This should avoid blowing up the size of the struct when we add
additional data that is only relevant for receive.
lightning/src/ln/channelmanager.rs