From 0f276af4c007be88bc25508c45ef577efc577fce Mon Sep 17 00:00:00 2001 From: Noah Campbell Date: Mon, 18 Jul 2022 12:17:45 -0500 Subject: [PATCH] Update api.go Fixed grammatical error in comment. Co-Authored-By: Rithwik Babu <54031798+rithwikbabu@users.noreply.github.com> Co-Authored-By: JAIN0103 <85311310+jain0103@users.noreply.github.com> --- eth/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/api.go b/eth/api.go index 5d159108e6a9..bcdfa3183c49 100644 --- a/eth/api.go +++ b/eth/api.go @@ -157,7 +157,7 @@ func (api *AdminAPI) ExportChain(file string, first *uint64, last *uint64) (bool } if _, err := os.Stat(file); err == nil { // File already exists. Allowing overwrite could be a DoS vector, - // since the 'file' may point to arbitrary paths on the drive + // since the 'file' may point to arbitrary paths on the drive. return false, errors.New("location would overwrite an existing file") } // Make sure we can create the file to export into