widen MarkSetVisitor interface and get rid of the casts

This commit is contained in:
vyzo
2021-08-10 10:47:01 +03:00
parent 57c984cea1
commit b83b5405c6
3 changed files with 30 additions and 85 deletions
-1
View File
@@ -142,7 +142,6 @@ type SplitStore struct {
txnViews int
txnViewsWaiting bool
txnActive bool
txnProtect MarkSet
txnRefsMx sync.Mutex
txnRefs map[cid.Cid]struct{}
txnMissing map[cid.Cid]struct{}