Skip to content

Commit

Permalink
[Storage][Pruner] Fix pruning pending check
Browse files Browse the repository at this point in the history
  • Loading branch information
sitalkedia authored and aptos-bot committed Apr 12, 2022
1 parent 9efe13e commit 9f44a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/aptosdb/src/pruner/db_pruner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ pub trait DBPruner {

/// True if there is pruning work pending to be done
fn is_pruning_pending(&self) -> bool {
self.target_version() >= self.least_readable_version()
self.target_version() > self.least_readable_version()
}
}

0 comments on commit 9f44a1c

Please sign in to comment.