Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
d0082bb7
Commit
d0082bb7
authored
Jul 24, 2018
by
Wenbiao Zheng
Committed by
Péter Szilágyi
Jul 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: fix comment typo (#17236)
parent
21c059b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
state_transition.go
core/state_transition.go
+3
-3
No files found.
core/state_transition.go
View file @
d0082bb7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment