This commit is contained in:
vyzo 2021-07-04 13:17:31 +03:00
parent 2c7a89a1db
commit 1f02428225
2 changed files with 2 additions and 2 deletions

View File

@ -817,7 +817,7 @@ func (s *SplitStore) doCompact(curTs *types.TipSet) error {
log.Infow("marking done", "took", time.Since(startMark), "marked", count)
// fetch refernces taken during marking and create the transaction protect filter
// fetch references taken during marking and create the transaction protect filter
s.txnLk.Lock()
txnRefs := s.txnRefs
s.txnRefs = nil

View File

@ -118,7 +118,7 @@ func testSplitStore(t *testing.T, cfg *Config) {
// count objects in the cold and hot stores
countBlocks := func(bs blockstore.Blockstore) int {
count := 0
bs.(blockstore.BlockstoreIterator).ForEachKey(func(_ cid.Cid) error {
_ = bs.(blockstore.BlockstoreIterator).ForEachKey(func(_ cid.Cid) error {
count++
return nil
})