/**
* Returns the [`EffectiveCapacity`] of the channel in the direction.
*
* This is either the total capacity from the funding transaction, if known, or the
* `htlc_maximum_msat` for the direction as advertised by the gossip network, if known,
/**
* Returns the [`EffectiveCapacity`] of the channel in the direction.
*
* This is either the total capacity from the funding transaction, if known, or the
* `htlc_maximum_msat` for the direction as advertised by the gossip network, if known,