aboutsummaryrefslogtreecommitdiffstats
path: root/core/genesis.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/genesis.go')
-rw-r--r--core/genesis.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/genesis.go b/core/genesis.go
index 5d8c54219..09ab5b701 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -303,8 +303,8 @@ func (g *Genesis) ToBlock(db ethdb.Database) *types.Block {
}
// Genesis CRS.
- crs := crypto.Keccak256([]byte(g.Config.Dexcon.GenesisCRSText))
- govStateHelper.PushCRS(common.BytesToHash(crs))
+ crs := crypto.Keccak256Hash([]byte(g.Config.Dexcon.GenesisCRSText))
+ govStateHelper.PushCRS(crs)
// Round 0 height.
govStateHelper.PushRoundHeight(big.NewInt(0))