Skip to content

Commit

Permalink
fix comment that said cache size is 100k
Browse files Browse the repository at this point in the history
  • Loading branch information
Larry Ruane committed Dec 10, 2019
1 parent 6fef40c commit 65bd2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65bd2c1

Please sign in to comment.