From baa8ec8f02995cf8980f11473f5fa3d64d43ce9e Mon Sep 17 00:00:00 2001 From: Gursharan Singh <3442979+G8XSU@users.noreply.github.com> Date: Fri, 12 Apr 2024 14:42:27 -0700 Subject: [PATCH] DocClarity: Chainsync ChannelManager before any operation. --- lightning/src/ln/channelmanager.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index fa8a0b2163d..82d4a4b9114 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -1157,7 +1157,8 @@ where /// Otherwise, if restarting, construct [`ChannelManagerReadArgs`] with the necessary parameters and /// references to any deserialized [`ChannelMonitor`]s that were previously persisted. Use this to /// deserialize the [`ChannelManager`] and feed it any new chain data since it was last online, as -/// detailed in the [`ChannelManagerReadArgs`] documentation. +/// detailed in the [`ChannelManagerReadArgs`] documentation. Both [`ChannelManager`] and +/// [`ChannelMonitors`] must be synced to latest chain tip before they are ready for operation. /// /// ``` /// use bitcoin::BlockHash;