File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -837,9 +837,9 @@ impl<ChanSigner: ChannelKeys + Writeable> ChannelMonitor<ChanSigner> {
837
837
///
838
838
/// Note that the deserializer is only implemented for (Sha256dHash, ChannelMonitor), which
839
839
/// tells you the last block hash which was block_connect()ed. You MUST rescan any blocks along
840
- /// the "reorg path" (ie not just starting at the same height but starting at the highest
841
- /// common block that appears on your best chain as well as on the chain which contains the
842
- /// last block hash returned ) upon deserializing the object!
840
+ /// the "reorg path" (ie disconnecting blocks until you find a common ancestor from both the
841
+ /// returned block hash and the the current chain and then reconnecting blocks to get to the
842
+ /// best chain ) upon deserializing the object!
843
843
pub fn write_for_disk < W : Writer > ( & self , writer : & mut W ) -> Result < ( ) , :: std:: io:: Error > {
844
844
//TODO: We still write out all the serialization here manually instead of using the fancy
845
845
//serialization framework we have, we should migrate things over to it.
You can’t perform that action at this time.
0 commit comments