aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-03-06 10:49:27 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:57 +0800
commit51466757595b8e953ca0920020ee4686dc63533c (patch)
tree1731c76b267dfc0a048a0104ea596e3077caceb2 /params
parentb708ec0f082d431dfe6d56882d58043811647ac7 (diff)
downloaddexon-51466757595b8e953ca0920020ee4686dc63533c.tar
dexon-51466757595b8e953ca0920020ee4686dc63533c.tar.gz
dexon-51466757595b8e953ca0920020ee4686dc63533c.tar.bz2
dexon-51466757595b8e953ca0920020ee4686dc63533c.tar.lz
dexon-51466757595b8e953ca0920020ee4686dc63533c.tar.xz
dexon-51466757595b8e953ca0920020ee4686dc63533c.tar.zst
dexon-51466757595b8e953ca0920020ee4686dc63533c.zip
core: vm: validate addDKGMasterPublicKey caller properly (#220)
There are two keys in the system: one is the owner's key which is used for stake / unstake. The other is the node key which is used for DKG related operations. We need to allow them to be different so fund renmains safe even if the the node key is lost.
Diffstat (limited to 'params')
-rw-r--r--params/config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/params/config.go b/params/config.go
index 76223421d..a7a66b7db 100644
--- a/params/config.go
+++ b/params/config.go
@@ -26,9 +26,9 @@ import (
// Genesis hashes to enforce below configs on.
var (
- MainnetGenesisHash = common.HexToHash("0x605d2850786a493b48c428dc447785c73912cf649d792196532412561058e390")
- TestnetGenesisHash = common.HexToHash("0x376d2e79e046907c8947df0985d43574dbfd23bd82c4bc3e85fc5f0d0599590a")
- YilanGenesisHash = common.HexToHash("0xd9b4eb0bfd7bbc8193ed5afd11adf9b9b34f09df7b1e0a0f17f580242e22bf76")
+ MainnetGenesisHash = common.HexToHash("0x1c7166166a0d5030bce584ecfb153d874be4afb0bfda7c844ff339c85fee5e4a")
+ TestnetGenesisHash = common.HexToHash("0x8eeae9be1662831bf98627e7fdd8185c808aa177bdf4e1eed5631d065bf14973")
+ YilanGenesisHash = common.HexToHash("0xa1011afd7391b4d7929c1ebbeab490cc2be45e699b75e3bea8948d525b52b465")
)
var (