From: Matt Corallo Date: Fri, 28 Sep 2018 23:06:41 +0000 (-0400) Subject: Note that update_fee is likely not gonna be our final API X-Git-Tag: v0.0.12~299^2~4 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=75f6804fc4106fe33e04ab960cb02d59fcfa6c64;p=rust-lightning Note that update_fee is likely not gonna be our final API --- diff --git a/src/ln/channelmanager.rs b/src/ln/channelmanager.rs index 67a9eabda..c876dc95b 100644 --- a/src/ln/channelmanager.rs +++ b/src/ln/channelmanager.rs @@ -1939,6 +1939,8 @@ impl ChannelManager { /// Begin Update fee process. Allowed only on an outbound channel. /// If successful, will generate a UpdateHTLCs event, so you should probably poll /// PeerManager::process_events afterwards. + /// Note: This API is likely to change! + #[doc(hidden)] pub fn update_fee(&self, channel_id: [u8;32], feerate_per_kw: u64) -> Result<(), APIError> { let mut channel_state = self.channel_state.lock().unwrap(); match channel_state.by_id.get_mut(&channel_id) {