chainregistry: disable height hint cache
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -181,8 +181,8 @@ func newChainControlFromConfig(cfg *config, chanDB *channeldb.DB,
|
|||||||
cleanUp func()
|
cleanUp func()
|
||||||
)
|
)
|
||||||
|
|
||||||
// Initialize the height hint cache within the chain directory.
|
// Initialize disabled height hint cache within the chain directory.
|
||||||
hintCache, err := chainntnfs.NewHeightHintCache(chanDB)
|
hintCache, err := chainntnfs.NewHeightHintCache(chanDB, true)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, fmt.Errorf("unable to initialize height hint "+
|
return nil, nil, fmt.Errorf("unable to initialize height hint "+
|
||||||
"cache: %v", err)
|
"cache: %v", err)
|
||||||
|
|||||||
Reference in new issue
Block a user