diff --git a/cmd/server/main.go b/cmd/server/main.go index a292ac33..0e472284 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -208,7 +208,7 @@ func main() { stopChan := make(chan bool, 1) - // Start the block cache importer at latestblock - 100k(cache size) + // Start the block cache importer at cacheSize blocks before current height cacheStart := blockHeight - opts.cacheSize if cacheStart < saplingHeight { cacheStart = saplingHeight