File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ BlockSourceResult<ValidatedBlockHeader> where B::Target: BlockSource {
49
49
/// use lightning::chain::chaininterface::FeeEstimator;
50
50
/// use lightning::sign;
51
51
/// use lightning::sign::{EntropySource, NodeSigner, SignerProvider};
52
- /// use lightning::ln::ChannelId;
53
52
/// use lightning::ln::channelmanager::{ChannelManager, ChannelManagerReadArgs};
54
53
/// use lightning::routing::router::Router;
55
54
/// use lightning::util::config::UserConfig;
@@ -120,8 +119,7 @@ BlockSourceResult<ValidatedBlockHeader> where B::Target: BlockSource {
120
119
///
121
120
/// // Allow the chain monitor to watch any channels.
122
121
/// let monitor = monitor_listener.0;
123
- /// let funding_outpoint = monitor.get_funding_txo().0;
124
- /// chain_monitor.watch_channel(funding_outpoint, monitor);
122
+ /// chain_monitor.watch_channel(monitor.get_funding_txo().0, monitor);
125
123
///
126
124
/// // Create an SPV client to notify the chain monitor and channel manager of block events.
127
125
/// let chain_poller = poll::ChainPoller::new(block_source, Network::Bitcoin);
You can’t perform that action at this time.
0 commit comments