Skip to content

Commit

Permalink
p2p/simulations: fix gosimple nit (ethereum#15661)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl authored Dec 13, 2017
1 parent f258a21 commit 3654aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/simulations/mocker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3654aea

Please sign in to comment.