fix lint
This commit is contained in:
parent
2c7a89a1db
commit
1f02428225
@ -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
|
||||
|
@ -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
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user