New config option - disable height hint cache queries
typo broke test leftover junk Fix to comply with linter and also, D'oh conditional
This commit is contained in:
1 parent
1de7e30cd1
commit
61ea9fad78
8 files changed
+54
-13
No files matched your search
@@ -2964,7 +2964,10 @@ func TestLightningWallet(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create db: %v", err)
|
||||
}
|
||||
hintCache, err := chainntnfs.NewHeightHintCache(db)
|
||||
testCfg := chainntnfs.Config{
|
||||
HeightHintCacheQueryDisable: false,
|
||||
}
|
||||
hintCache, err := chainntnfs.NewHeightHintCache(testCfg, db)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create height hint cache: %v", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user