p2p/simulations: fix typo in network_test.go (#24824)

This commit is contained in:
Ikko Ashimine 2022-05-06 03:20:11 +09:00 committed by GitHub
parent ca8e2f1ecf
commit 33d7a469f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -448,7 +448,7 @@ func TestGetNodeIDs(t *testing.T) {
numNodes := 5
nodes, err := createTestNodes(numNodes, network)
if err != nil {
t.Fatalf("Could not creat test nodes %v", err)
t.Fatalf("Could not create test nodes %v", err)
}
gotNodeIDs := network.GetNodeIDs()
@ -497,7 +497,7 @@ func TestGetNodes(t *testing.T) {
numNodes := 5
nodes, err := createTestNodes(numNodes, network)
if err != nil {
t.Fatalf("Could not creat test nodes %v", err)
t.Fatalf("Could not create test nodes %v", err)
}
gotNodes := network.GetNodes()