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
ff225db8
Commit
ff225db8
authored
Feb 14, 2018
by
ferhat elmas
Committed by
Péter Szilágyi
Feb 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/vm: remove unused hashing (#16075)
parent
752761cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
interpreter.go
core/vm/interpreter.go
+0
-7
No files found.
core/vm/interpreter.go
View file @
ff225db8
...
...
@@ -20,9 +20,7 @@ import (
"fmt"
"sync/atomic"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/params"
)
...
...
@@ -123,11 +121,6 @@ func (in *Interpreter) Run(contract *Contract, input []byte) (ret []byte, err er
return
nil
,
nil
}
codehash
:=
contract
.
CodeHash
// codehash is used when doing jump dest caching
if
codehash
==
(
common
.
Hash
{})
{
codehash
=
crypto
.
Keccak256Hash
(
contract
.
Code
)
}
var
(
op
OpCode
// current opcode
mem
=
NewMemory
()
// bound memory
...
...
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