From b4af97dd8cfd5bbd7032fb5e1aff240625df06cb Mon Sep 17 00:00:00 2001 From: Mission Liao Date: Wed, 12 Sep 2018 15:35:24 +0800 Subject: core: replace acks with slice (#102) --- core/consensus.go | 1 - 1 file changed, 1 deletion(-) (limited to 'core/consensus.go') diff --git a/core/consensus.go b/core/consensus.go index 0bc7c7d..ef39795 100644 --- a/core/consensus.go +++ b/core/consensus.go @@ -541,7 +541,6 @@ func (con *Consensus) PrepareGenesisBlock(b *types.Block, } b.Position.Height = 0 b.ParentHash = common.Hash{} - b.Acks = make(map[common.Hash]struct{}) b.Timestamp = proposeTime b.Hash, err = hashBlock(b) if err != nil { -- cgit v1.2.3