diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-02-20 12:53:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 12:53:18 +0800 |
commit | 8ef4fc213703620fbfa13890dee042d40eea8545 (patch) | |
tree | ba9a07d2423314396e5677b7294122caa505ae9a /core/types/block_test.go | |
parent | 2cf18fd299ea0fc270b213343314cab652cac271 (diff) | |
download | dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.gz dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.bz2 dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.lz dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.xz dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.zst dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.zip |
core: switch round by block height (#450)
Diffstat (limited to 'core/types/block_test.go')
-rw-r--r-- | core/types/block_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/types/block_test.go b/core/types/block_test.go index d47096f..1dd83a9 100644 --- a/core/types/block_test.go +++ b/core/types/block_test.go @@ -67,9 +67,8 @@ func (s *BlockTestSuite) createRandomBlock() *Block { ParentHash: common.NewRandomHash(), Hash: common.NewRandomHash(), Position: Position{ - Round: rand.Uint64(), - ChainID: rand.Uint32(), - Height: rand.Uint64(), + Round: rand.Uint64(), + Height: rand.Uint64(), }, Acks: common.NewSortedHashes(common.Hashes{ common.NewRandomHash(), |