Skip to content

Commit a2b8262

Browse files
a2brzzyalbert
authored andcommitted
eth: fix typo in comment (#23941)
1 parent a89f110 commit a2b8262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ func (api *PrivateAdminAPI) ExportChain(file string, first *uint64, last *uint64
170170
last = &head
171171
}
172172
if _, err := os.Stat(file); err == nil {
173-
// File already exists. Allowing overwrite could be a DoS vecotor,
173+
// File already exists. Allowing overwrite could be a DoS vector,
174174
// since the 'file' may point to arbitrary paths on the drive
175175
return false, errors.New("location would overwrite an existing file")
176176
}

0 commit comments

Comments
 (0)