We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e06484b commit 612d1fbCopy full SHA for 612d1fb
lightning/src/chain/mod.rs
@@ -203,6 +203,9 @@ pub trait Watch<ChannelSigner: Sign> {
203
/// with any spends of outputs returned by [`get_outputs_to_watch`]. In practice, this means
204
/// calling [`block_connected`] and [`block_disconnected`] on the monitor.
205
///
206
+ /// Note: this interface MUST error with `ChannelMonitorUpdateErr::PermanentFailure` if
207
+ /// the given `funding_txo` has previously been registered via `watch_channel`.
208
+ ///
209
/// [`get_outputs_to_watch`]: channelmonitor::ChannelMonitor::get_outputs_to_watch
210
/// [`block_connected`]: channelmonitor::ChannelMonitor::block_connected
211
/// [`block_disconnected`]: channelmonitor::ChannelMonitor::block_disconnected
0 commit comments