Revert "chainregistry: disable height hint cache"

This reverts commit 0e29a457e1f38b2841019dc6664de1697aa84b34.
This commit is contained in:
Wilmer Paulino 2018-10-01 14:20:04 -07:00
parent c740b8b85f
commit 7d94c65afc
No known key found for this signature in database
GPG Key ID: 6DF57B9F9514972F

@ -181,8 +181,8 @@ func newChainControlFromConfig(cfg *config, chanDB *channeldb.DB,
cleanUp func()
)
// Initialize disabled height hint cache within the chain directory.
hintCache, err := chainntnfs.NewHeightHintCache(chanDB, true)
// Initialize the height hint cache within the chain directory.
hintCache, err := chainntnfs.NewHeightHintCache(chanDB)
if err != nil {
return nil, nil, fmt.Errorf("unable to initialize height hint "+
"cache: %v", err)