We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b433a8 commit 86ce8afCopy full SHA for 86ce8af
1 file changed
store/store.go
@@ -311,8 +311,8 @@ func (s *Store) Partition() {
311
}
312
// if the partition height is past the partition frequency, set the discardTs at the partition height-1
313
if snapshotHeight > partitionFrequency {
314
- fmt.Println("SETTING DISCARD TS @", sc.Version()-2)
315
- sc.db.SetDiscardTs(sc.Version() - 2)
+ fmt.Println("SETTING DISCARD TS @", snapshotHeight-2)
+ sc.db.SetDiscardTs(snapshotHeight - 2)
316
317
// if the GC isn't already running
318
if !s.isGarbageCollecting.Swap(true) {
0 commit comments