aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/main.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-19 19:32:52 +0800
committerobscuren <geffobscura@gmail.com>2014-09-19 19:32:52 +0800
commit723074e71bbe1638a5cec9b996b1eed07a76fd72 (patch)
tree14816f724ff04140c7c3e6d84b81562bff94655c /ethereum/main.go
parente429e2614f8f2d0524f97fabf37ea5bd259ec517 (diff)
downloadgo-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.tar.gz
go-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.tar.zst
go-tangerine-723074e71bbe1638a5cec9b996b1eed07a76fd72.zip
dump
Diffstat (limited to 'ethereum/main.go')
-rw-r--r--ethereum/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethereum/main.go b/ethereum/main.go
index ab6ce18b2..df9737c1f 100644
--- a/ethereum/main.go
+++ b/ethereum/main.go
@@ -76,6 +76,8 @@ func main() {
os.Exit(1)
}
+ fmt.Printf("RLP: %x\nstate: %x\nhash: %x\n", ethutil.Rlp(block), block.GetRoot(), block.Hash())
+
// Leave the Println. This needs clean output for piping
fmt.Printf("%s\n", block.State().Dump())