From 4c520e06a04c0b734dcc703dd007bb89cfb15a9d Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Tue, 27 Nov 2018 10:13:05 +0800 Subject: vendor: sync to latest core (#52) --- .../dexon-consensus/core/types/block-randomness.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go') diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go index 6df245b08..1c64d4ad9 100644 --- a/vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go +++ b/vendor/github.com/dexon-foundation/dexon-consensus/core/types/block-randomness.go @@ -25,9 +25,10 @@ import ( // AgreementResult describes an agremeent result. type AgreementResult struct { - BlockHash common.Hash `json:"block_hash"` - Position Position `json:"position"` - Votes []Vote `json:"votes"` + BlockHash common.Hash `json:"block_hash"` + Position Position `json:"position"` + Votes []Vote `json:"votes"` + IsEmptyBlock bool `json:"is_empty_block"` } func (r *AgreementResult) String() string { -- cgit v1.2.3