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
69acda2c
Commit
69acda2c
authored
Jul 14, 2014
by
obscuren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Paranoia check moved
parent
98f21d89
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
state_transition.go
ethchain/state_transition.go
+0
-17
No files found.
ethchain/state_transition.go
View file @
69acda2c
...
...
@@ -2,8 +2,6 @@ package ethchain
import
(
"fmt"
"github.com/ethereum/eth-go/ethtrie"
"github.com/ethereum/eth-go/ethutil"
"math/big"
)
...
...
@@ -275,20 +273,5 @@ func (self *StateTransition) Eval(script []byte, context *StateObject, typ strin
func
Call
(
vm
*
Vm
,
closure
*
Closure
,
data
[]
byte
)
(
ret
[]
byte
,
err
error
)
{
ret
,
_
,
err
=
closure
.
Call
(
vm
,
data
)
if
ethutil
.
Config
.
Paranoia
{
var
(
context
=
closure
.
object
trie
=
context
.
state
.
trie
)
valid
,
t2
:=
ethtrie
.
ParanoiaCheck
(
trie
)
if
!
valid
{
// TODO FIXME ASAP
context
.
state
.
trie
=
t2
statelogger
.
Infoln
(
"Warn: PARANOIA: Different state object roots during copy"
)
}
}
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