make CompactionThreshold a var to fix lotus-soup build

finality is not a constant there!
This commit is contained in:
vyzo 2020-12-01 18:48:43 +02:00
parent 6e51e6db9a
commit 1a23b1f6af

View File

@ -24,7 +24,7 @@ import (
bstore "github.com/filecoin-project/lotus/lib/blockstore"
)
const CompactionThreshold = 5 * build.Finality
var CompactionThreshold = 5 * build.Finality
var baseEpochKey = dstore.NewKey("baseEpoch")