aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/vm/governance.go2
-rw-r--r--test/genesis.json5
2 files changed, 6 insertions, 1 deletions
diff --git a/core/vm/governance.go b/core/vm/governance.go
index d9c9a8142..a720e31f5 100644
--- a/core/vm/governance.go
+++ b/core/vm/governance.go
@@ -35,7 +35,7 @@ import (
coreTypes "github.com/dexon-foundation/dexon-consensus-core/core/types"
)
-var GovernanceContractAddress = common.BytesToAddress([]byte{0XED}) // Reverse of DEX0
+var GovernanceContractAddress = common.HexToAddress("5765692d4e696e6720536f6e696320426f6a6965")
var minStake = big.NewInt(10000000000000)
const abiJSON = `
diff --git a/test/genesis.json b/test/genesis.json
index 51857df5f..2c6b51d20 100644
--- a/test/genesis.json
+++ b/test/genesis.json
@@ -28,6 +28,11 @@
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"alloc": {
+ "0x5765692d4e696e6720536f6e696320426f6a6965": {
+ "balance": "0",
+ "staked": "0",
+ "code": "0x5765692d4e696e6720536f6e696320426f6a6965"
+ },
"0x7C3c31B19395A5e2627F921Cc2802560B71f1caB": {
"balance": "1000000000000000000000",
"staked": "500000000000000000000",