mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-17 13:36:37 +00:00
p2p/simulations: fix gosimple nit (#15661)
This commit is contained in:
parent
f258a21a63
commit
3654aeaa4f
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ func TestMocker(t *testing.T) {
|
||||||
select {
|
select {
|
||||||
case event := <-events:
|
case event := <-events:
|
||||||
//if the event is a node Up event only
|
//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
|
//add the correspondent node ID to the map
|
||||||
nodemap[event.Node.Config.ID] = true
|
nodemap[event.Node.Config.ID] = true
|
||||||
//this means all nodes got a nodeUp event, so we can continue the test
|
//this means all nodes got a nodeUp event, so we can continue the test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue