- /// Returns the fee in msats willing to be paid to avoid routing through the given channel.
- fn channel_penalty_msat(&self, short_channel_id: u64) -> u64;
+ /// Returns the fee in msats willing to be paid to avoid routing through the given channel
+ /// in the direction from `source` to `target`.
+ fn channel_penalty_msat(&self, short_channel_id: u64, source: &NodeId, target: &NodeId) -> u64;