From 56f9c8b587f30418c5492a8e1d04578424bc7125 Mon Sep 17 00:00:00 2001 From: Duncan Dean Date: Mon, 22 Jan 2024 13:26:21 +0200 Subject: [PATCH] f revert lightning-block-sync/src/init.rs --- lightning-block-sync/src/init.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lightning-block-sync/src/init.rs b/lightning-block-sync/src/init.rs index 839d75c6b52..e26d4a6802b 100644 --- a/lightning-block-sync/src/init.rs +++ b/lightning-block-sync/src/init.rs @@ -120,8 +120,7 @@ BlockSourceResult where B::Target: BlockSource { /// /// // Allow the chain monitor to watch any channels. /// let monitor = monitor_listener.0; -/// let funding_outpoint = monitor.get_funding_txo().0; -/// chain_monitor.watch_channel(funding_outpoint, monitor); +/// chain_monitor.watch_channel(monitor.get_funding_txo().0, monitor); /// /// // Create an SPV client to notify the chain monitor and channel manager of block events. /// let chain_poller = poll::ChainPoller::new(block_source, Network::Bitcoin);