good morning!!!!

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

Fixed genesis

parent 92c7aca8
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ var ZeroHash256 = make([]byte, 32) ...@@ -15,6 +15,7 @@ var ZeroHash256 = make([]byte, 32)
var ZeroHash160 = make([]byte, 20) var ZeroHash160 = make([]byte, 20)
var ZeroHash512 = make([]byte, 64) var ZeroHash512 = make([]byte, 64)
var EmptyShaList = crypto.Sha3(ethutil.Encode([]interface{}{})) var EmptyShaList = crypto.Sha3(ethutil.Encode([]interface{}{}))
var EmptyListRoot = crypto.Sha3(ethutil.Encode(""))
var GenesisHeader = []interface{}{ var GenesisHeader = []interface{}{
// Previous hash (none) // Previous hash (none)
...@@ -25,10 +26,10 @@ var GenesisHeader = []interface{}{ ...@@ -25,10 +26,10 @@ var GenesisHeader = []interface{}{
ZeroHash160, ZeroHash160,
// Root state // Root state
EmptyShaList, EmptyShaList,
// tx sha // tx root
EmptyShaList, EmptyListRoot,
// receipt list // receipt root
EmptyShaList, EmptyListRoot,
// bloom // bloom
ZeroHash512, ZeroHash512,
// Difficulty // Difficulty
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment