Unify `get_{inbound,outbound}_pending_htlc_stats`
authorMatt Corallo <git@bluematt.me>
Wed, 27 Mar 2024 02:14:50 +0000 (02:14 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 2 May 2024 15:39:03 +0000 (15:39 +0000)
commit2937000051e9a047702f89de7268f88c2503106e
treeb78addf0226ea670ef0213619cd592241cd6cf30
parent8701b1bbe3a1e92cdb1e9dc56b6472574d6a9d93
Unify `get_{inbound,outbound}_pending_htlc_stats`

In most cases we already call both in a pair, and in fact always
consolidate some of the returned values across both accessors, so
there's not much reason to have them be separate methods.

Here we merge them.
lightning/src/ln/channel.rs