Skip to content

Commit

Permalink
build, node: fix go vet nits
Browse files Browse the repository at this point in the history
  • Loading branch information
fjl committed Jan 9, 2017
1 parent 6cb39dd commit 5eccc12
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/update-license.go
Original file line number Diff line number Diff line change
@@ -185,7 +185,7 @@ func getFiles() []string {
files = append(files, line)
})
if err != nil {
log.Fatalf("error getting files:", err)
log.Fatal("error getting files:", err)
}
return files
}
2 changes: 1 addition & 1 deletion node/node_example_test.go
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ func (s *SampleService) APIs() []rpc.API { return nil }
func (s *SampleService) Start(*p2p.Server) error { fmt.Println("Service starting..."); return nil }
func (s *SampleService) Stop() error { fmt.Println("Service stopping..."); return nil }

func ExampleUsage() {
func ExampleService() {
// Create a network node to run protocols with the default values. The below list
// is only used to display each of the configuration options. All of these could
// have been omitted if the default behavior is desired.

0 comments on commit 5eccc12

Please sign in to comment.