Skip to content

Commit 3f67c95

Browse files
committed
Clarify ChannelManager docs somewhat around full blocks
As suggested by Val.
1 parent fcadf52 commit 3f67c95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4006,8 +4006,9 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> Writeable f
40064006
/// ChannelManager)>::read(reader, args).
40074007
/// This may result in closing some Channels if the ChannelMonitor is newer than the stored
40084008
/// ChannelManager state to ensure no loss of funds. Thus, transactions may be broadcasted.
4009-
/// 3) Register all relevant ChannelMonitor outpoints with your chain watch mechanism using
4010-
/// ChannelMonitor::get_outputs_to_watch() and ChannelMonitor::get_funding_txo().
4009+
/// 3) If you are not fetching full blocks, register all relevant ChannelMonitor outpoints with
4010+
/// your chain watch mechanism using ChannelMonitor::get_outputs_to_watch() and
4011+
/// ChannelMonitor::get_funding_txo().
40114012
/// 4) Reconnect blocks on your ChannelMonitors.
40124013
/// 5) Disconnect/connect blocks on the ChannelManager.
40134014
/// 6) Move the ChannelMonitors into your local chain::Watch.

0 commit comments

Comments
 (0)