rawdb: remove unused parameter for WritePreimages func (#18059)

* rawdb: remove unused parameter for WritePreimages func and modify a
spelling mistake

* rawdb: update the doc for function WritePreimages
This commit is contained in:
Corey Lin
2018-11-09 18:51:07 +08:00
committed by Péter Szilágyi
parent f574c4e74b
commit 1ff152f3a4
4 changed files with 6 additions and 7 deletions

View File

@ -35,7 +35,7 @@ var (
// headBlockKey tracks the latest know full block's hash.
headBlockKey = []byte("LastBlock")
// headFastBlockKey tracks the latest known incomplete block's hash duirng fast sync.
// headFastBlockKey tracks the latest known incomplete block's hash during fast sync.
headFastBlockKey = []byte("LastFast")
// fastTrieProgressKey tracks the number of trie entries imported during fast sync.