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-03-12 12:19:09 +0800
commitd83ab9b386e0cdeeb9afe8f39849b922e32a32e4 (patch)
tree4fbfe1ef19558486df2d1dbc8bea28956a9b49f8 /params
parent4ce8adb190ae3351a507be54f38afa6b47ce18a3 (diff)
downloaddexon-d83ab9b386e0cdeeb9afe8f39849b922e32a32e4.tar
dexon-d83ab9b386e0cdeeb9afe8f39849b922e32a32e4.tar.gz
dexon-d83ab9b386e0cdeeb9afe8f39849b922e32a32e4.tar.bz2
dexon-d83ab9b386e0cdeeb9afe8f39849b922e32a32e4.tar.lz
dexon-d83ab9b386e0cdeeb9afe8f39849b922e32a32e4.tar.xz
dexon-d83ab9b386e0cdeeb9afe8f39849b922e32a32e4.tar.zst
dexon-d83ab9b386e0cdeeb9afe8f39849b922e32a32e4.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 c13a5e4bf..6b03bfda8 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 (