chainregistry: disable height hint cache

This commit is contained in:
Conner Fromknecht 2018-08-25 14:31:25 -07:00
parent 70ba3119b7
commit 0e29a457e1
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

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