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
33d7a469
Unverified
Commit
33d7a469
authored
May 05, 2022
by
Ikko Ashimine
Committed by
GitHub
May 05, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
p2p/simulations: fix typo in network_test.go (#24824)
parent
ca8e2f1e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
network_test.go
p2p/simulations/network_test.go
+2
-2
No files found.
p2p/simulations/network_test.go
View file @
33d7a469
...
@@ -448,7 +448,7 @@ func TestGetNodeIDs(t *testing.T) {
...
@@ -448,7 +448,7 @@ func TestGetNodeIDs(t *testing.T) {
numNodes
:=
5
numNodes
:=
5
nodes
,
err
:=
createTestNodes
(
numNodes
,
network
)
nodes
,
err
:=
createTestNodes
(
numNodes
,
network
)
if
err
!=
nil
{
if
err
!=
nil
{
t
.
Fatalf
(
"Could not creat test nodes %v"
,
err
)
t
.
Fatalf
(
"Could not creat
e
test nodes %v"
,
err
)
}
}
gotNodeIDs
:=
network
.
GetNodeIDs
()
gotNodeIDs
:=
network
.
GetNodeIDs
()
...
@@ -497,7 +497,7 @@ func TestGetNodes(t *testing.T) {
...
@@ -497,7 +497,7 @@ func TestGetNodes(t *testing.T) {
numNodes
:=
5
numNodes
:=
5
nodes
,
err
:=
createTestNodes
(
numNodes
,
network
)
nodes
,
err
:=
createTestNodes
(
numNodes
,
network
)
if
err
!=
nil
{
if
err
!=
nil
{
t
.
Fatalf
(
"Could not creat test nodes %v"
,
err
)
t
.
Fatalf
(
"Could not creat
e
test nodes %v"
,
err
)
}
}
gotNodes
:=
network
.
GetNodes
()
gotNodes
:=
network
.
GetNodes
()
...
...
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