From 84bccd0900929f544271ddc97c53bb2b460835c0 Mon Sep 17 00:00:00 2001 From: hsyodyssey <47173566+hsyodyssey@users.noreply.github.com> Date: Sun, 10 Oct 2021 21:00:00 +0800 Subject: [PATCH] core/state: fix typos in comments (#23702) --- core/state/journal.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/state/journal.go b/core/state/journal.go index 2070f30875..57a692dc7f 100644 --- a/core/state/journal.go +++ b/core/state/journal.go @@ -33,14 +33,14 @@ type journalEntry interface { } // journal contains the list of state modifications applied since the last state -// commit. These are tracked to be able to be reverted in case of an execution -// exception or revertal request. +// commit. These are tracked to be able to be reverted in the case of an execution +// exception or request for reversal. type journal struct { entries []journalEntry // Current changes tracked by the journal dirties map[common.Address]int // Dirty accounts and the number of changes } -// newJournal create a new initialized journal. +// newJournal creates a new initialized journal. func newJournal() *journal { return &journal{ dirties: make(map[common.Address]int),