diff options
Diffstat (limited to 'core/utils/signer_test.go')
-rw-r--r-- | core/utils/signer_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/utils/signer_test.go b/core/utils/signer_test.go index 8e34b98..3905352 100644 --- a/core/utils/signer_test.go +++ b/core/utils/signer_test.go @@ -42,8 +42,8 @@ func (s *SignerTestSuite) TestBlock() { b := &types.Block{ ParentHash: common.NewRandomHash(), Position: types.Position{ - ChainID: 2, - Height: 3, + Round: 2, + Height: 3, }, Timestamp: time.Now().UTC(), } @@ -55,8 +55,8 @@ func (s *SignerTestSuite) TestVote() { k := s.setupSigner() v := types.NewVote(types.VoteCom, common.NewRandomHash(), 123) v.Position = types.Position{ - ChainID: 4, - Height: 6, + Round: 4, + Height: 6, } v.ProposerID = types.NodeID{Hash: common.NewRandomHash()} s.NoError(k.SignVote(v)) @@ -70,8 +70,8 @@ func (s *SignerTestSuite) TestCRS() { b := &types.Block{ ParentHash: common.NewRandomHash(), Position: types.Position{ - ChainID: 8, - Height: 9, + Round: 8, + Height: 9, }, Timestamp: time.Now().UTC(), } |