Skip to content

Commit

Permalink
add comment about trackTxnRefs being noops if txnActive is false
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Feb 14, 2022
1 parent a428f44 commit 6c7abab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blockstore/splitstore/splitstore_reify.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ func (s *SplitStore) doReify(c cid.Cid) {
}
}
} else {
// if txnActive is false these are noops
if len(toreify) > 0 {
s.trackTxnRefMany(toreify)
}
Expand Down

0 comments on commit 6c7abab

Please sign in to comment.