diff --git a/eth/filters/filter_system_test.go b/eth/filters/filter_system_test.go index 4f68bf584a..6238c97735 100644 --- a/eth/filters/filter_system_test.go +++ b/eth/filters/filter_system_test.go @@ -184,7 +184,6 @@ func (b *testBackend) setPending(block *types.Block, receipts types.Receipts) { func (b *testBackend) notifyPending(logs []*types.Log) { genesis := &core.Genesis{ Config: params.TestChainConfig, - Alloc: core.GenesisAlloc{}, } _, blocks, _ := core.GenerateChainWithGenesis(genesis, ethash.NewFaker(), 2, func(i int, b *core.BlockGen) {}) b.setPending(blocks[1], []*types.Receipt{{Logs: logs}}) diff --git a/miner/payload_building_test.go b/miner/payload_building_test.go index b769ee8121..1728b9e5bd 100644 --- a/miner/payload_building_test.go +++ b/miner/payload_building_test.go @@ -108,7 +108,7 @@ type testWorkerBackend struct { func newTestWorkerBackend(t *testing.T, chainConfig *params.ChainConfig, engine consensus.Engine, db ethdb.Database, n int) *testWorkerBackend { var gspec = &core.Genesis{ Config: chainConfig, - Alloc: core.GenesisAlloc{testBankAddress: {Balance: testBankFunds}}, + Alloc: types.GenesisAlloc{testBankAddress: {Balance: testBankFunds}}, } switch e := engine.(type) { case *clique.Clique: