Skip to content

Commit d0082bb

Browse files
jsvisakaralabe
authored andcommitted
core: fix comment typo (#17236)
1 parent 21c059b commit d0082bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎core/state_transition.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var (
3535
The State Transitioning Model
3636
3737
A state transition is a change made when a transaction is applied to the current world state
38-
The state transitioning model does all all the necessary work to work out a valid new state root.
38+
The state transitioning model does all the necessary work to work out a valid new state root.
3939
4040
1) Nonce handling
4141
2) Pre pay gas
@@ -178,8 +178,8 @@ func (st *StateTransition) preCheck() error {
178178
}
179179

180180
// TransitionDb will transition the state by applying the current message and
181-
// returning the result including the the used gas. It returns an error if it
182-
// failed. An error indicates a consensus issue.
181+
// returning the result including the used gas. It returns an error if failed.
182+
// An error indicates a consensus issue.
183183
func (st *StateTransition) TransitionDb() (ret []byte, usedGas uint64, failed bool, err error) {
184184
if err = st.preCheck(); err != nil {
185185
return

0 commit comments

Comments
 (0)