good morning!!!!

Skip to content
Snippets Groups Projects
Commit 8c8554f5 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Added license name and updated block output from the dev console

parent 5257c25e
Branches
Tags
No related merge requests found
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2013 Geff Obscura Copyright (c) 2013 Jeffrey Wilcke
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal
......
...@@ -136,7 +136,8 @@ func (i *Console) ParseInput(input string) bool { ...@@ -136,7 +136,8 @@ func (i *Console) ParseInput(input string) bool {
case "block": case "block":
encoded, _ := hex.DecodeString(tokens[1]) encoded, _ := hex.DecodeString(tokens[1])
block := i.ethereum.BlockManager.BlockChain().GetBlock(encoded) block := i.ethereum.BlockManager.BlockChain().GetBlock(encoded)
fmt.Println(block) info := block.BlockInfo()
fmt.Printf("++++++++++ #%d ++++++++++\n%v\n", info.Number, block)
case "say": case "say":
i.ethereum.Broadcast(ethwire.MsgTalkTy, []interface{}{tokens[1]}) i.ethereum.Broadcast(ethwire.MsgTalkTy, []interface{}{tokens[1]})
case "addp": case "addp":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment