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
49a7ee46
Commit
49a7ee46
authored
Jul 12, 2019
by
cdetrio
Committed by
Felix Lange
Jul 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eth: fix storageRangeAt for empty blocks (#18076)
parent
25215091
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
api_tracer.go
eth/api_tracer.go
+5
-0
No files found.
eth/api_tracer.go
View file @
49a7ee46
...
...
@@ -795,6 +795,11 @@ func (api *PrivateDebugAPI) computeTxEnv(blockHash common.Hash, txIndex int, ree
if
err
!=
nil
{
return
nil
,
vm
.
Context
{},
nil
,
err
}
if
txIndex
==
0
&&
len
(
block
.
Transactions
())
==
0
{
return
nil
,
vm
.
Context
{},
statedb
,
nil
}
// Recompute transactions up to the target index.
signer
:=
types
.
MakeSigner
(
api
.
eth
.
blockchain
.
Config
(),
block
.
Number
())
...
...
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