From 7d94c65afc771147d637d5d9d81ba420cca800d9 Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Mon, 1 Oct 2018 14:20:04 -0700 Subject: [PATCH] Revert "chainregistry: disable height hint cache" This reverts commit 0e29a457e1f38b2841019dc6664de1697aa84b34. --- chainregistry.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chainregistry.go b/chainregistry.go index c4d915d6..c8019458 100644 --- a/chainregistry.go +++ b/chainregistry.go @@ -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)