diff options
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/genesis.go b/core/genesis.go index 440ff1a64..e7d26d4c2 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)) |