From 79be89a6b0b1d24b889e7c9fe0244026af4d49d0 Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Mon, 15 Apr 2019 11:44:04 +0800 Subject: core: Add DKGSuccess (#569) * core: Add DKGSuccess * core: reset if not enough of dkg success --- core/utils/round-event.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/utils/round-event.go') diff --git a/core/utils/round-event.go b/core/utils/round-event.go index 602d2da..b1d4d23 100644 --- a/core/utils/round-event.go +++ b/core/utils/round-event.go @@ -84,7 +84,7 @@ func (e RoundEventParam) NextTouchNodeSetCacheHeight() uint64 { // NextDKGResetHeight returns the height to reset DKG for next period. func (e RoundEventParam) NextDKGResetHeight() uint64 { - return e.BeginHeight + e.Config.RoundLength*8/10 + return e.BeginHeight + e.Config.RoundLength*85/100 } // NextDKGRegisterHeight returns the height to register DKG. -- cgit v1.2.3