diff options
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/genesis.go b/core/genesis.go index 4b0e878fe..ce02249c9 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -261,7 +261,7 @@ func (g *Genesis) ToBlock(db ethdb.Database) *types.Block { db = ethdb.NewMemDatabase() } statedb, _ := state.New(common.Hash{}, state.NewDatabase(db)) - govStateHelper := vm.GovernanceStateHelper{statedb} + govStateHelper := vm.GovernanceStateHelper{StateDB: statedb} totalStaked := big.NewInt(0) |