good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 3654aeaa authored by Felix Lange's avatar Felix Lange Committed by GitHub
Browse files

p2p/simulations: fix gosimple nit (#15661)

parent f258a21a
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ func TestMocker(t *testing.T) {
select {
case event := <-events:
//if the event is a node Up event only
if event.Node != nil && event.Node.Up == true {
if event.Node != nil && event.Node.Up {
//add the correspondent node ID to the map
nodemap[event.Node.Config.ID] = true
//this means all nodes got a nodeUp event, so we can continue the test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment