Commit 93265418 authored by Felix Lange's avatar Felix Lange

core/types: make Block.{ParentHash,SeedHash,MixDigest} []byte

There is no reason to keep them as ethutil.Bytes.
parent 31a95151
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment