Chore: Minimal gramatical errors (signleton -> singleton) (#25057)

core: fix typos
This commit is contained in:
Gustavo Silva
2022-06-10 18:47:06 +03:00
committed by GitHub
parent 3f5b5ec3e5
commit eb94896270
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -39,7 +39,7 @@ func (f stateBloomHasher) BlockSize() int { panic("not implem
func (f stateBloomHasher) Size() int { return 8 }
func (f stateBloomHasher) Sum64() uint64 { return binary.BigEndian.Uint64(f) }
// stateBloom is a bloom filter used during the state convesion(snapshot->state).
// stateBloom is a bloom filter used during the state conversion(snapshot->state).
// The keys of all generated entries will be recorded here so that in the pruning
// stage the entries belong to the specific version can be avoided for deletion.
//
@@ -100,7 +100,7 @@ func (bloom *stateBloom) Commit(filename, tempname string) error {
}
f.Close()
// Move the teporary file into it's final location
// Move the temporary file into it's final location
return os.Rename(tempname, filename)
}