diff options
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/genesis.go b/core/genesis.go index 8dfd08524..149241cf5 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -237,10 +237,7 @@ func (g *Genesis) ToBlock(db ethdb.Database) *types.Block { db = ethdb.NewMemDatabase() } statedb, _ := state.New(common.Hash{}, state.NewDatabase(db)) - govStateHelper := vm.GovernanceStateHelper{ - Address: vm.GovernanceContractAddress, - StateDB: statedb, - } + govStateHelper := vm.GovernanceStateHelper{statedb} for addr, account := range g.Alloc { statedb.AddBalance(addr, new(big.Int).Sub(account.Balance, account.Staked)) statedb.SetCode(addr, account.Code) |