Skip to content

Commit

Permalink
typo-Update chain.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
romashka-btc authored Dec 23, 2024
1 parent 33afc1d commit 11453e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/chain/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3915,7 +3915,7 @@ impl Chain {
}

/// Function to check whether we need to create a new snapshot while processing the current block
/// Note that this functions is called as a part of block preprocesing, so the head is not updated to current block
/// Note that this functions is called as a part of block preprocessing, so the head is not updated to current block
fn should_make_or_delete_snapshot(&mut self) -> Result<SnapshotAction, Error> {
// head value is that of the previous block, i.e. curr_block.prev_hash
let head = self.head()?;
Expand Down

0 comments on commit 11453e6

Please sign in to comment.