mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
chore: comment typos
This commit is contained in:
@@ -542,7 +542,7 @@ impl BlockchainOverlay {
|
||||
}
|
||||
|
||||
/// Auxiliary function to create a full clone using SledDbOverlay::clone,
|
||||
/// and creating new pointers of underlying overlays.
|
||||
/// generating new pointers for the underlying overlays.
|
||||
pub fn full_clone(&self) -> Result<BlockchainOverlayPtr> {
|
||||
let overlay = Arc::new(Mutex::new(self.overlay.lock().unwrap().clone()));
|
||||
let headers = HeaderStoreOverlay::new(&overlay)?;
|
||||
|
||||
@@ -97,8 +97,8 @@ impl Fork {
|
||||
}
|
||||
|
||||
/// Auxiliary function to create a full clone using BlockchainOverlay::full_clone.
|
||||
/// Changes to this clone don't affect original record, since underlying overlay
|
||||
/// is cloned and pointers have been updated to the new one.
|
||||
/// Changes to this copy don't affect original fork overlay records, since underlying
|
||||
/// overlay pointer have been updated to the cloned one.
|
||||
pub fn full_clone(&self) -> Result<Self> {
|
||||
let overlay = self.overlay.lock().unwrap().full_clone()?;
|
||||
let proposals = self.proposals.clone();
|
||||
|
||||
Reference in New Issue
Block a user