mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/rawdb: fix typo
This commit is contained in:
parent
baf8ccf6f6
commit
be4d6bdaaa
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ func (f *chainFreezer) freeze(db ethdb.KeyValueStore) {
|
|||
var (
|
||||
start = time.Now()
|
||||
first = frozen // the first block to freeze
|
||||
last = threshold // the last block to freezer
|
||||
last = threshold // the last block to freeze
|
||||
)
|
||||
if last-first+1 > freezerBatchLimit {
|
||||
last = freezerBatchLimit + first - 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue