File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -125,10 +125,7 @@ func (p *Pruner) pruneOnce(ctx context.Context) error {
125125 }
126126
127127 target := height - p .retention
128- if target < p .lastPruned {
129- return nil
130- }
131- if target == p .lastPruned {
128+ if target <= p .lastPruned {
132129 return nil
133130 }
134131
Original file line number Diff line number Diff line change @@ -268,6 +268,7 @@ func NewEngineExecutionClient(
268268
269269// PruneExecMeta removes execution metadata at the given height.
270270// It is used by the block pruner to delete historical exec meta entries.
271+ // Returns nil if no store is configured.
271272func (c * EngineClient ) PruneExecMeta (ctx context.Context , height uint64 ) error {
272273 if c .store == nil {
273274 return nil
You can’t perform that action at this time.
0 commit comments