aboutsummaryrefslogtreecommitdiffstats
path: root/core/leader-selector_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/leader-selector_test.go')
-rw-r--r--core/leader-selector_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/leader-selector_test.go b/core/leader-selector_test.go
index f6028c0..e18dd49 100644
--- a/core/leader-selector_test.go
+++ b/core/leader-selector_test.go
@@ -114,7 +114,7 @@ func (s *LeaderSelectorTestSuite) TestPrepareBlock() {
}
s.Require().Nil(leader.prepareBlock(block, prv))
s.Nil(leader.processBlock(block))
- block.Height++
+ block.Position.Height++
s.Error(ErrIncorrectCRSSignature, leader.processBlock(block))
}