aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWenbiao Zheng <delweng@gmail.com>2018-07-24 18:17:12 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-24 18:17:12 +0800
commitd0082bb7ec04b4fe3fc9e269fe2673c9cbd094e2 (patch)
tree6908842e66fffd7519264dad323c3e3e4bb25b51 /core
parent21c059b67ef4da979db3d66bd021a72112b35419 (diff)
downloadgo-tangerine-d0082bb7ec04b4fe3fc9e269fe2673c9cbd094e2.tar
go-tangerine-d0082bb7ec04b4fe3fc9e269fe2673c9cbd094e2.tar.gz
go-tangerine-d0082bb7ec04b4fe3fc9e269fe2673c9cbd094e2.tar.bz2
go-tangerine-d0082bb7ec04b4fe3fc9e269fe2673c9cbd094e2.tar.lz
go-tangerine-d0082bb7ec04b4fe3fc9e269fe2673c9cbd094e2.tar.xz
go-tangerine-d0082bb7ec04b4fe3fc9e269fe2673c9cbd094e2.tar.zst
go-tangerine-d0082bb7ec04b4fe3fc9e269fe2673c9cbd094e2.zip
core: fix comment typo (#17236)
Diffstat (limited to 'core')
-rw-r--r--core/state_transition.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/state_transition.go b/core/state_transition.go
index 5654cd01e..fda081b7d 100644
--- a/core/state_transition.go
+++ b/core/state_transition.go
@@ -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
@@ -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