p2p/discover: fix bug in `checkNodesEqual`

pull/29603/head
bugmaker9371 7 months ago committed by Felix Lange
parent 171430c3f5
commit 56cafb22ca
  1. 2
      p2p/discover/table_util_test.go

@ -241,6 +241,8 @@ func checkNodesEqual(got, want []*enode.Node) error {
goto NotEqual
}
}
} else {
return fmt.Errorf("length dismatch: got %d nodes, want %d nodes", len(got), len(want))
}
return nil

Loading…
Cancel
Save