Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
lklimek and coderabbitai[bot] authored Feb 6, 2025
1 parent 387968d commit a316240
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions abci/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ pub trait Application {
Ok(Default::default())
}

/// Finalizes the snapshot after all chunks have been applied.
///
/// This method is called by Tenderdash after all snapshot chunks have been
/// successfully applied via `apply_snapshot_chunk`. It gives the application
/// an opportunity to perform any final processing or validation of the complete
/// snapshot before it is considered fully restored.
fn finalize_snapshot(
&self,
_request: abci::RequestFinalizeSnapshot,
Expand Down

0 comments on commit a316240

Please sign in to comment.