@@ -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
@@ -3925,8 +3925,8 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> Writeable f
3925
3925
/// At a high-level, the process for deserializing a ChannelManager and resuming normal operation
3926
3926
/// is:
3927
3927
/// 1) Deserialize all stored ChannelMonitors.
3928
- /// 2) Deserialize the ChannelManager by filling in this struct and calling <(Sha256dHash,
3929
- /// ChannelManager)>::read(reader, args).
3928
+ /// 2) Deserialize the ChannelManager by filling in this struct and calling:
3929
+ /// <(BlockHash, ChannelManager)>::read(reader, args)
3930
3930
/// This may result in closing some Channels if the ChannelMonitor is newer than the stored
3931
3931
/// ChannelManager state to ensure no loss of funds. Thus, transactions may be broadcasted.
3932
3932
/// 3) Register all relevant ChannelMonitor outpoints with your chain watch mechanism using
0 commit comments