diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-02-22 17:01:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-22 17:01:42 +0800 |
commit | 929d41761b72abab106b5a4d627701d1c232e891 (patch) | |
tree | 2683f07d02b1d72231810ec12963b51c562165a2 /core/syncer | |
parent | 8ef4fc213703620fbfa13890dee042d40eea8545 (diff) | |
download | dexon-consensus-929d41761b72abab106b5a4d627701d1c232e891.tar dexon-consensus-929d41761b72abab106b5a4d627701d1c232e891.tar.gz dexon-consensus-929d41761b72abab106b5a4d627701d1c232e891.tar.bz2 dexon-consensus-929d41761b72abab106b5a4d627701d1c232e891.tar.lz dexon-consensus-929d41761b72abab106b5a4d627701d1c232e891.tar.xz dexon-consensus-929d41761b72abab106b5a4d627701d1c232e891.tar.zst dexon-consensus-929d41761b72abab106b5a4d627701d1c232e891.zip |
core: remove acks (#451)
Diffstat (limited to 'core/syncer')
-rw-r--r-- | core/syncer/consensus.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/syncer/consensus.go b/core/syncer/consensus.go index 538913f..7399373 100644 --- a/core/syncer/consensus.go +++ b/core/syncer/consensus.go @@ -337,7 +337,6 @@ func (con *Consensus) buildEmptyBlock(b *types.Block, parent *types.Block) { b.Witness.Height = parent.Witness.Height b.Witness.Data = make([]byte, len(parent.Witness.Data)) copy(b.Witness.Data, parent.Witness.Data) - b.Acks = common.NewSortedHashes(common.Hashes{parent.Hash}) } // setupConfigs is called by SyncBlocks with blocks from compaction chain. In |