mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
cmd: fix typo in comment (#32501)
The function name in the comment should be `writeErrors` instead of `writeQueries`. Signed-off-by: tzchenxixi <tzchenxixi@icloud.com>
This commit is contained in:
parent
27d4a10185
commit
514322ce0f
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ func (st *bucketStats) print(name string) {
|
|||
name, st.count, float64(st.blocks)/float64(st.count), float64(st.logs)/float64(st.count), st.runtime/time.Duration(st.count))
|
||||
}
|
||||
|
||||
// writeQueries serializes the generated errors to the error file.
|
||||
// writeErrors serializes the generated errors to the error file.
|
||||
func writeErrors(errorFile string, errors []*filterQuery) {
|
||||
file, err := os.Create(errorFile)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue