]> 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>
Mon, 3 Feb 2020 02:38:53 +0000 (21:38 -0500)
commitb4d6479defe3b945231b4e193b18f0884473ddf0
tree966ed1595bd4a12314e6b2a159865dd6f5a8d99f
parent133a8a31311b817f8e1e7512b3250bf71c5747f2
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