From 99d2efa270ffc97ae655d4b802b494642735009b Mon Sep 17 00:00:00 2001 From: Anatole <62328077+a2br@users.noreply.github.com> Date: Sat, 20 Nov 2021 22:38:01 +0100 Subject: [PATCH] Fix typo in comment vecotor -> vector --- eth/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/api.go b/eth/api.go index 3ec72c58e43c..f81dfa922b7a 100644 --- a/eth/api.go +++ b/eth/api.go @@ -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") }