Improve output

This commit is contained in:
Ivan Kuznetsov 2017-08-16 12:33:54 +07:00
parent 53c83d4ad2
commit 8767cb3528
1 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ func main() {
bc.AddBlock("Send 2 more BTC to Ivan")
for _, block := range bc.blocks {
fmt.Printf("%s\n", block.Data)
fmt.Printf("%x\n", block.Hash)
fmt.Printf("%s - %x\n", block.Data, block.Hash)
}
}