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>
Sun, 1 Mar 2020 04:26:16 +0000 (23:26 -0500)
commitbd7039ff43db3329ec37d6e7fe9d5f7cd426b3c1
tree0035ca430b7fbde1c1993edee830144c14e86f1b
parentb8b898534bded11a57c81b354c8d8d674695964e
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