more accurate setting of skip params

This commit is contained in:
vyzo 2021-02-27 21:30:01 +02:00
parent 2426ffb277
commit e52c709d8a

View File

@ -105,8 +105,8 @@ func NewSplitStore(path string, ds dstore.Datastore, cold, hot bstore.Blockstore
fullCompaction: cfg.EnableFullCompaction, fullCompaction: cfg.EnableFullCompaction,
enableGC: cfg.EnableGC, enableGC: cfg.EnableGC,
skipOldMsgs: !cfg.Archival, skipOldMsgs: !(cfg.EnableFullCompaction && cfg.Archival),
skipMsgReceipts: !cfg.Archival, skipMsgReceipts: !(cfg.EnableFullCompaction && cfg.Archival),
} }
return ss, nil return ss, nil