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
e1365b24
Unverified
Commit
e1365b24
authored
Sep 23, 2020
by
gary rong
Committed by
GitHub
Sep 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trie: fix gaped range proof test case (#21484)
parent
fdb74241
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
proof_test.go
trie/proof_test.go
+1
-1
No files found.
trie/proof_test.go
View file @
e1365b24
...
...
@@ -451,7 +451,7 @@ func TestBadRangeProof(t *testing.T) {
// with the first/last second element(since small values are
// embedded in the parent). Avoid this case.
index
=
mrand
.
Intn
(
end
-
start
)
if
(
index
==
end
-
start
-
1
||
index
==
0
)
&&
end
<=
100
{
if
(
index
==
0
&&
start
<
100
)
||
(
index
==
end
-
start
-
1
&&
end
<=
100
)
{
continue
}
keys
=
append
(
keys
[
:
index
],
keys
[
index
+
1
:
]
...
)
...
...
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