Skip to content

Commit

Permalink
core: fix comment typo (ethereum#17236)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvisa authored and karalabe committed Jul 24, 2018
1 parent 21c059b commit d0082bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var (
The State Transitioning Model
A state transition is a change made when a transaction is applied to the current world state
The state transitioning model does all all the necessary work to work out a valid new state root.
The state transitioning model does all the necessary work to work out a valid new state root.
1) Nonce handling
2) Pre pay gas
Expand Down Expand Up @@ -178,8 +178,8 @@ func (st *StateTransition) preCheck() error {
}

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

0 comments on commit d0082bb

Please sign in to comment.