Skip to content

Commit fea569f

Browse files
authored
eth: fix typo in comment (ethereum#25327)
1 parent 1af9e4f commit fea569f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: eth/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ func (api *AdminAPI) ExportChain(file string, first *uint64, last *uint64) (bool
157157
}
158158
if _, err := os.Stat(file); err == nil {
159159
// File already exists. Allowing overwrite could be a DoS vector,
160-
// since the 'file' may point to arbitrary paths on the drive
160+
// since the 'file' may point to arbitrary paths on the drive.
161161
return false, errors.New("location would overwrite an existing file")
162162
}
163163
// Make sure we can create the file to export into

0 commit comments

Comments
 (0)