Skip to content

Commit

Permalink
eth: fix typo in comment (ethereum#23941)
Browse files Browse the repository at this point in the history
  • Loading branch information
a2br authored and jagdeep sidhu committed Nov 23, 2021
1 parent aa9fdd1 commit 813a8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func (api *PrivateAdminAPI) ExportChain(file string, first *uint64, last *uint64
last = &head
}
if _, err := os.Stat(file); err == nil {
// File already exists. Allowing overwrite could be a DoS vecotor,
// File already exists. Allowing overwrite could be a DoS vector,
// since the 'file' may point to arbitrary paths on the drive
return false, errors.New("location would overwrite an existing file")
}
Expand Down

0 comments on commit 813a8c8

Please sign in to comment.