chainntfns: rename to CacheConfig and QueryDisabled

This commit is contained in:
Conner Fromknecht committed 2020-07-14 19:24:44 -07:00
1 parent b907035438
commit 7e08322d40
7 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -38,8 +38,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 {