p2p/simulations: fix typo in network_test.go (#24824)
This commit is contained in:
parent
ca8e2f1ecf
commit
33d7a469f6
@ -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 create test nodes %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
gotNodeIDs := network.GetNodeIDs()
|
gotNodeIDs := network.GetNodeIDs()
|
||||||
@ -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 create test nodes %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
gotNodes := network.GetNodes()
|
gotNodes := network.GetNodes()
|
||||||
|
Loading…
Reference in New Issue
Block a user