mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-09 00:24:21 +01:00
chainntnfs/btcdnotify: disable height hint cache in testing
This commit is contained in:
@@ -23,7 +23,7 @@ func initHintCache(t *testing.T) *chainntnfs.HeightHintCache {
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create db: %v", err)
|
||||
}
|
||||
hintCache, err := chainntnfs.NewHeightHintCache(db)
|
||||
hintCache, err := chainntnfs.NewHeightHintCache(db, true)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to create hint cache: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user