mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-19 07:04:25 +01:00
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:
@@ -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