diff --git a/holder.go b/holder.go index b160b888a..c3e6ff01a 100644 --- a/holder.go +++ b/holder.go @@ -783,7 +783,7 @@ func (h *Holder) NeedsSnapshot() bool { h.mu.RLock() defer h.mu.RUnlock() - return h.cfg.Txsrc == "roaring" + return h.txf.NeedsSnapshot() } // HasData returns true if Holder contains at least one index.