Skip to content

Commit

Permalink
Println -> Printf when using formatting directives.
Browse files Browse the repository at this point in the history
This makes go vet happy.
  • Loading branch information
dajohi committed Aug 28, 2014
1 parent ff4d017 commit c3abafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func ExampleBlockChain_ProcessBlock() {
fmt.Printf("Failed to process block: %v\n", err)
return
}
fmt.Println("Block accepted. Is it an orphan?: %v", isOrphan)
fmt.Printf("Block accepted. Is it an orphan?: %v", isOrphan)

// Output:
// Failed to process block: already have block 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
Expand Down

0 comments on commit c3abafc

Please sign in to comment.