@@ -380,7 +380,7 @@ pub type SimpleRefChannelManager<'a, 'b, 'c, 'd, 'e, M, T, F, L> = ChannelManage
380380/// ChannelMonitors passed by reference to read(), those channels will be force-closed based on the
381381/// ChannelMonitor state and no funds will be lost (mod on-chain transaction fees).
382382///
383- /// Note that the deserializer is only implemented for (Sha256dHash , ChannelManager), which
383+ /// Note that the deserializer is only implemented for (BlockHash , ChannelManager), which
384384/// tells you the last block hash which was block_connect()ed. You MUST rescan any blocks along
385385/// the "reorg path" (ie call block_disconnected() until you get to a common block and then call
386386/// block_connected() to step towards your best block) upon deserialization before using the
@@ -3942,8 +3942,8 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> Writeable f
39423942/// At a high-level, the process for deserializing a ChannelManager and resuming normal operation
39433943/// is:
39443944/// 1) Deserialize all stored ChannelMonitors.
3945- /// 2) Deserialize the ChannelManager by filling in this struct and calling <(Sha256dHash,
3946- /// ChannelManager)>::read(reader, args).
3945+ /// 2) Deserialize the ChannelManager by filling in this struct and calling:
3946+ /// <(BlockHash, ChannelManager)>::read(reader, args)
39473947/// This may result in closing some Channels if the ChannelMonitor is newer than the stored
39483948/// ChannelManager state to ensure no loss of funds. Thus, transactions may be broadcasted.
39493949/// 3) Register all relevant ChannelMonitor outpoints with your chain watch mechanism using
0 commit comments