chainntnfs/bitcoindnotify: disable height hints in testing

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

@ -25,7 +25,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)
}