aboutsummaryrefslogtreecommitdiffstats
path: root/core/ticker.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/ticker.go')
-rw-r--r--core/ticker.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/ticker.go b/core/ticker.go
index eac80de..0d2e433 100644
--- a/core/ticker.go
+++ b/core/ticker.go
@@ -65,11 +65,11 @@ func newTicker(gov Governance, round uint64, tickerType TickerType) (t Ticker) {
var duration time.Duration
switch tickerType {
case TickerBA:
- duration = gov.GetConfiguration(round).LambdaBA
+ duration = gov.Configuration(round).LambdaBA
case TickerDKG:
- duration = gov.GetConfiguration(round).LambdaDKG
+ duration = gov.Configuration(round).LambdaDKG
case TickerCRS:
- duration = gov.GetConfiguration(round).RoundInterval / 2
+ duration = gov.Configuration(round).RoundInterval / 2
}
t = newDefaultTicker(duration)
}