Skip to content

Commit f5ef6e8

Browse files
committed
f revert lightning-block-sync/src/init.rs
1 parent 5930c56 commit f5ef6e8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lightning-block-sync/src/init.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ BlockSourceResult<ValidatedBlockHeader> where B::Target: BlockSource {
4949
/// use lightning::chain::chaininterface::FeeEstimator;
5050
/// use lightning::sign;
5151
/// use lightning::sign::{EntropySource, NodeSigner, SignerProvider};
52-
/// use lightning::ln::ChannelId;
5352
/// use lightning::ln::channelmanager::{ChannelManager, ChannelManagerReadArgs};
5453
/// use lightning::routing::router::Router;
5554
/// use lightning::util::config::UserConfig;
@@ -120,8 +119,7 @@ BlockSourceResult<ValidatedBlockHeader> where B::Target: BlockSource {
120119
///
121120
/// // Allow the chain monitor to watch any channels.
122121
/// 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);
125123
///
126124
/// // Create an SPV client to notify the chain monitor and channel manager of block events.
127125
/// let chain_poller = poll::ChainPoller::new(block_source, Network::Bitcoin);

0 commit comments

Comments
 (0)