aboutsummaryrefslogtreecommitdiffstats
path: root/core/utils/utils.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-03-20 14:57:12 +0800
committerJimmy Hu <jimmy.hu@dexon.org>2019-03-27 15:25:10 +0800
commit6efe199cb38eb4cb9a9a64d98ff5f8c4fb997da7 (patch)
tree2c18fe616f84df7274f19f88cf325fe558869918 /core/utils/utils.go
parentfa3b5a29499739e90b3cf17f9a0cf60a72a64fc0 (diff)
downloadtangerine-consensus-6efe199cb38eb4cb9a9a64d98ff5f8c4fb997da7.tar
tangerine-consensus-6efe199cb38eb4cb9a9a64d98ff5f8c4fb997da7.tar.gz
tangerine-consensus-6efe199cb38eb4cb9a9a64d98ff5f8c4fb997da7.tar.bz2
tangerine-consensus-6efe199cb38eb4cb9a9a64d98ff5f8c4fb997da7.tar.lz
tangerine-consensus-6efe199cb38eb4cb9a9a64d98ff5f8c4fb997da7.tar.xz
tangerine-consensus-6efe199cb38eb4cb9a9a64d98ff5f8c4fb997da7.tar.zst
tangerine-consensus-6efe199cb38eb4cb9a9a64d98ff5f8c4fb997da7.zip
core: merge notarySet and DKGSet (#488)
* core: さよăȘら DKGSet * test logger * temporary fix before finalized * core: Sign psig on commit vote * Add syncer log * fixup
Diffstat (limited to 'core/utils/utils.go')
-rw-r--r--core/utils/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils/utils.go b/core/utils/utils.go
index 14687d6..fcdf422 100644
--- a/core/utils/utils.go
+++ b/core/utils/utils.go
@@ -136,7 +136,7 @@ func LaunchDummyReceiver(
// GetDKGThreshold return expected threshold for given DKG set size.
func GetDKGThreshold(config *types.Config) int {
- return int(config.DKGSetSize/3) + 1
+ return int(config.NotarySetSize*2/3) + 1
}
// GetNextRoundValidationHeight returns the block height to check if the next