From d87aa2488583e10b09b93dcb8741d3be051697a5 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 3 Nov 2014 23:45:16 +0100 Subject: [PATCH] Fixed genesis --- chain/genesis.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/chain/genesis.go b/chain/genesis.go index 3a552f5834..14117a82cf 100644 --- a/chain/genesis.go +++ b/chain/genesis.go @@ -15,6 +15,7 @@ var ZeroHash256 = make([]byte, 32) var ZeroHash160 = make([]byte, 20) var ZeroHash512 = make([]byte, 64) var EmptyShaList = crypto.Sha3(ethutil.Encode([]interface{}{})) +var EmptyListRoot = crypto.Sha3(ethutil.Encode("")) var GenesisHeader = []interface{}{ // Previous hash (none) @@ -25,10 +26,10 @@ var GenesisHeader = []interface{}{ ZeroHash160, // Root state EmptyShaList, - // tx sha - EmptyShaList, - // receipt list - EmptyShaList, + // tx root + EmptyListRoot, + // receipt root + EmptyListRoot, // bloom ZeroHash512, // Difficulty