From 98e7c968d4bf5900a5d7be7f557eab8f623633c0 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Sun, 26 Aug 2018 15:34:20 -0700 Subject: [PATCH] chainntnfs/btcdnotify: disable height hint cache in testing --- chainntnfs/btcdnotify/btcd_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chainntnfs/btcdnotify/btcd_test.go b/chainntnfs/btcdnotify/btcd_test.go index 34f53d5bd..239e0d9d6 100644 --- a/chainntnfs/btcdnotify/btcd_test.go +++ b/chainntnfs/btcdnotify/btcd_test.go @@ -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) }