diff --git a/cli_printchain.go b/cli_printchain.go index ba22cf5..81b7edf 100644 --- a/cli_printchain.go +++ b/cli_printchain.go @@ -15,6 +15,7 @@ func (cli *CLI) printChain(nodeID string) { block := bci.Next() fmt.Printf("============ Block %x ============\n", block.Hash) + fmt.Printf("Height: %d\n", block.Height) fmt.Printf("Prev. block: %x\n", block.PrevBlockHash) pow := NewProofOfWork(block) fmt.Printf("PoW: %s\n\n", strconv.FormatBool(pow.Validate()))