aboutsummaryrefslogtreecommitdiffstats
path: root/core/utils/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/utils/utils.go')
-rw-r--r--core/utils/utils.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/utils/utils.go b/core/utils/utils.go
index 8486d28..203f57f 100644
--- a/core/utils/utils.go
+++ b/core/utils/utils.go
@@ -26,6 +26,13 @@ import (
typesDKG "github.com/dexon-foundation/dexon-consensus/core/types/dkg"
)
+var dkgDelayRound uint64
+
+// SetDKGDelayRound sets the variable.
+func SetDKGDelayRound(delay uint64) {
+ dkgDelayRound = delay
+}
+
type configAccessor interface {
Configuration(round uint64) *types.Config
}