diff options
Diffstat (limited to 'dev_console.go')
-rw-r--r-- | dev_console.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev_console.go b/dev_console.go index f2283e341..6670d2a44 100644 --- a/dev_console.go +++ b/dev_console.go @@ -136,7 +136,8 @@ func (i *Console) ParseInput(input string) bool { case "block": encoded, _ := hex.DecodeString(tokens[1]) block := i.ethereum.BlockManager.BlockChain().GetBlock(encoded) - fmt.Println(block) + info := block.BlockInfo() + fmt.Printf("++++++++++ #%d ++++++++++\n%v\n", info.Number, block) case "say": i.ethereum.Broadcast(ethwire.MsgTalkTy, []interface{}{tokens[1]}) case "addp": |