chainregistry: disable height hint cache
This commit is contained in:
parent
70ba3119b7
commit
0e29a457e1
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user