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/utils_test.go | |
parent | 2cf18fd299ea0fc270b213343314cab652cac271 (diff) | |
download | dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.gz dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.zst dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.zip |
core: switch round by block height (#450)
Diffstat (limited to 'core/utils_test.go')
-rw-r--r-- | core/utils_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/utils_test.go b/core/utils_test.go index fa5d260..c53a38f 100644 --- a/core/utils_test.go +++ b/core/utils_test.go @@ -58,9 +58,8 @@ func (s *UtilsTestSuite) TestVerifyAgreementResult() { signers = append(signers, utils.NewSigner(prvKey)) } pos := types.Position{ - Round: 0, - ChainID: 0, - Height: 20, + Round: 0, + Height: 20, } baResult := &types.AgreementResult{ BlockHash: hash, |