diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-13 21:36:15 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-14 01:41:09 +0800 |
commit | 932654182047c0f48536d94c2a60382aae8cae92 (patch) | |
tree | dd742d3e2561414fb45b0abdf86eb898b399f604 /core | |
parent | 31a95151c9fb95c8527e419347556f455aebd1cb (diff) | |
download | go-tangerine-932654182047c0f48536d94c2a60382aae8cae92.tar.gz go-tangerine-932654182047c0f48536d94c2a60382aae8cae92.tar.zst go-tangerine-932654182047c0f48536d94c2a60382aae8cae92.zip |
core/types: make Block.{ParentHash,SeedHash,MixDigest} []byte
There is no reason to keep them as ethutil.Bytes.
Diffstat (limited to 'core')
-rw-r--r-- | core/types/block.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 } |