From 932654182047c0f48536d94c2a60382aae8cae92 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 13 Mar 2015 14:36:15 +0100 Subject: core/types: make Block.{ParentHash,SeedHash,MixDigest} []byte There is no reason to keep them as ethutil.Bytes. --- core/types/block.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/types') diff --git a/core/types/block.go b/core/types/block.go index 31c7c2b87..f13a0b8f9 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -15,7 +15,7 @@ import ( type Header struct { // Hash to the previous block - ParentHash ethutil.Bytes + ParentHash []byte // Uncles of this block UncleHash []byte // The coin base address @@ -41,9 +41,9 @@ type Header struct { // Extra data Extra string // SeedHash used for light client verification - SeedHash ethutil.Bytes + SeedHash []byte // Mix digest for quick checking to prevent DOS - MixDigest ethutil.Bytes + MixDigest []byte // Nonce Nonce []byte } -- cgit v1.2.3