From 1a23b1f6afb399f3fe1462b505bf6cba869748fd Mon Sep 17 00:00:00 2001 From: vyzo Date: Tue, 1 Dec 2020 18:48:43 +0200 Subject: [PATCH] make CompactionThreshold a var to fix lotus-soup build finality is not a constant there! --- chain/store/splitstore/splitstore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/store/splitstore/splitstore.go b/chain/store/splitstore/splitstore.go index f1394562b..65619b44a 100644 --- a/chain/store/splitstore/splitstore.go +++ b/chain/store/splitstore/splitstore.go @@ -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")