From 328b5056f90601df2e1e2339e3bf94737e8c10eb Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Wed, 30 Jan 2019 13:44:08 -0800 Subject: [PATCH] Add a comment to indicate new fields --- core/types/block.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/types/block.go b/core/types/block.go index 354d39dd1..cab87feaa 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -91,6 +91,7 @@ type Header struct { Extra []byte `json:"extraData" gencodec:"required"` MixDigest common.Hash `json:"mixHash" gencodec:"required"` Nonce BlockNonce `json:"nonce" gencodec:"required"` + // Additional Fields ShardID ShardID `json:"shardID" gencodec:"required"` PrepareSignature [48]byte `json:"signature" gencodec:"required"` PrepareBitmap []byte `json:"bitmap" gencodec:"required"` // Contains which validator signed