Skip to content

Commit ef69353

Browse files
author
Antoine Riard
committed
[channel] Remove get_their_htlc_minimum_msat
Compliance of forwarded packets with regards to upstream peer policy must be done inside Channel::send_htlc() and not at the relay layer by ChannelManager.
1 parent 8c4e0d9 commit ef69353

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lightning/src/ln/channel.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3158,11 +3158,6 @@ impl<ChanSigner: ChannelKeys> Channel<ChanSigner> {
31583158
);
31593159
}
31603160

3161-
/// Allowed in any state (including after shutdown)
3162-
pub fn get_their_htlc_minimum_msat(&self) -> u64 {
3163-
self.our_htlc_minimum_msat
3164-
}
3165-
31663161
pub fn get_value_satoshis(&self) -> u64 {
31673162
self.channel_value_satoshis
31683163
}

0 commit comments

Comments
 (0)