From 4354ec70c010933a7bf12e564e6357bdf14bbbb4 Mon Sep 17 00:00:00 2001 From: mdr0id Date: Fri, 7 Jun 2019 14:10:56 -0700 Subject: [PATCH] Update ingest logic stream to start at Sapling testnet height --- cmd/ingest/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/ingest/main.go b/cmd/ingest/main.go index 7bd0b10..447d5b4 100644 --- a/cmd/ingest/main.go +++ b/cmd/ingest/main.go @@ -119,8 +119,9 @@ func main() { } - if height < 0 { - height = 0 + //ingest from Sapling testnet height + if height < 252500 { + height = 252500 log.WithFields(logrus.Fields{ "error": err, }).Warn("invalid current height read from local db storage")