/// Resets the current MerkleCheckpoint. The accumulated_nodes_added_count is set to the given `MerkleCheckpoint`s
/// count.
Resets the current MerkleCheckpoint. The accumulated_nodes_added_count is set to the given `MerkleCheckpoint`s
count.
Resets the current MerkleCheckpoint . The accumulated_nodes_added_count is set to the given ` MerkleCheckpoint ` s count .
pub fn reset_to(&mut self, checkpoint: &Self) {
        self.prev_accumulated_nodes_added_count = checkpoint.accumulated_nodes_added_count();
        self.nodes_added.clear();
        self.nodes_deleted = Bitmap::create();
    }
pub fn reset_to ( & mut self , checkpoint : & Self ) { self . prev_accumulated_nodes_added_count = checkpoint . accumulated_nodes_added_count ( ) ; self . nodes_added . clear ( ) ; self . nodes_deleted = Bitmap :: create ( ) ; }
Resets the current MerkleCheckpoint.
Resets the current MerkleCheckpoint .
&mut self
checkpoint
&Self