Remove unused feature flags (#3002)

* remove a few feature flags that are no longer needed

* remove other unused flags

* forgot a few more
This commit is contained in:
Preston Van Loon
2019-07-19 21:27:35 -04:00
committed by GitHub
parent e744d1a07e
commit dfc64121c6
28 changed files with 44 additions and 180 deletions

View File

@@ -10,7 +10,6 @@ import (
"time"
"github.com/prysmaticlabs/prysm/shared"
"github.com/prysmaticlabs/prysm/shared/featureconfig"
"github.com/prysmaticlabs/prysm/shared/keystore"
"github.com/prysmaticlabs/prysm/shared/testutil"
"github.com/prysmaticlabs/prysm/validator/accounts"
@@ -35,12 +34,6 @@ func keySetup() {
}
}
func init() {
featureconfig.InitFeatureConfig(&featureconfig.FeatureFlagConfig{
CacheTreeHash: false,
})
}
func TestMain(m *testing.M) {
dir := testutil.TempDir() + "/keystore1"
defer os.RemoveAll(dir)