mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
Println -> Printf when using formatting directives.
This makes go vet happy.
This commit is contained in:
parent
ff4d01765f
commit
c3abafc7eb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user