Remove `paths` from `PaymentInfo` in `payment_cache`
authorjurvis <hello@jurvis.co>
Thu, 17 Nov 2022 01:50:30 +0000 (17:50 -0800)
committerjurvis <hello@jurvis.co>
Sat, 19 Nov 2022 19:19:25 +0000 (11:19 -0800)
commit2e818131c42f39f2027c47d1987910cfdc698895
treec6471f822d5d3a366ced6c664cffe472fc5a7971
parent89f162c168bc934f64a663f31ea12793568c55b1
Remove `paths` from `PaymentInfo` in `payment_cache`

In c70bd1f, we implemented tracking HTLCs by adding path information
for pending HTLCs to `InvoicePayer`’s `payment_cache` when receiving
specific events.

Since we can now track inflight HTLCs entirely within ChannelManager,
there is no longer a need for this to exist.
lightning-invoice/src/payment.rs