aboutsummaryrefslogtreecommitdiffstats
path: root/core/test/governance.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/test/governance.go')
-rw-r--r--core/test/governance.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/test/governance.go b/core/test/governance.go
index 538d064..4970420 100644
--- a/core/test/governance.go
+++ b/core/test/governance.go
@@ -100,7 +100,8 @@ func (g *Governance) GetRoundHeight(round uint64) uint64 {
panic(fmt.Errorf("round begin height is not ready: %d %d",
round, len(g.roundBeginHeights)))
}
- return g.roundBeginHeights[round]
+ // TODO(jimmy): remove this workaround.
+ return g.roundBeginHeights[round] + 1
}
// CRS returns the CRS for a given round.