chainntfns: rename to CacheConfig and QueryDisabled

This commit is contained in:
Conner Fromknecht
2020-07-14 19:19:33 -07:00
parent b907035438
commit 7e08322d40
7 changed files with 23 additions and 23 deletions

View File

@@ -40,8 +40,8 @@ func initHintCache(t *testing.T) *chainntnfs.HeightHintCache {
if err != nil {
t.Fatalf("unable to create db: %v", err)
}
testCfg := chainntnfs.Config{
HeightHintCacheQueryDisable: false,
testCfg := chainntnfs.CacheConfig{
QueryDisable: false,
}
hintCache, err := chainntnfs.NewHeightHintCache(testCfg, db)
if err != nil {