@@ -380,7 +380,7 @@ pub type SimpleRefChannelManager<'a, 'b, 'c, 'd, 'e, M, T, F, L> = ChannelManage
380
380
/// ChannelMonitors passed by reference to read(), those channels will be force-closed based on the
381
381
/// ChannelMonitor state and no funds will be lost (mod on-chain transaction fees).
382
382
///
383
- /// Note that the deserializer is only implemented for (Sha256dHash , ChannelManager), which
383
+ /// Note that the deserializer is only implemented for (BlockHash , ChannelManager), which
384
384
/// tells you the last block hash which was block_connect()ed. You MUST rescan any blocks along
385
385
/// the "reorg path" (ie call block_disconnected() until you get to a common block and then call
386
386
/// 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
3942
3942
/// At a high-level, the process for deserializing a ChannelManager and resuming normal operation
3943
3943
/// is:
3944
3944
/// 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)
3947
3947
/// This may result in closing some Channels if the ChannelMonitor is newer than the stored
3948
3948
/// ChannelManager state to ensure no loss of funds. Thus, transactions may be broadcasted.
3949
3949
/// 3) Register all relevant ChannelMonitor outpoints with your chain watch mechanism using
0 commit comments