chainntnfs/btcdnotify: disable height hint cache in testing

This commit is contained in:
Conner Fromknecht 2018-08-26 15:34:20 -07:00
parent ab28db5b0d
commit 98e7c968d4
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -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)
}