chainntfns: rename to CacheConfig and QueryDisabled
This commit is contained in:
7 files changed
+23
-23
No files matched your search
@@ -3014,8 +3014,8 @@ func TestLightningWallet(t *testing.T) {
|
||||
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 {
|
||||
|
||||
Reference in new issue
Block a user