diff options
Diffstat (limited to 'core/database_util_test.go')
-rw-r--r-- | core/database_util_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/database_util_test.go b/core/database_util_test.go index 0af4e4920..e6be06093 100644 --- a/core/database_util_test.go +++ b/core/database_util_test.go @@ -562,7 +562,7 @@ func TestMipmapChain(t *testing.T) { ) defer db.Close() - genesis := WriteGenesisBlockForTesting(db, GenesisAccount{addr, big.NewInt(1000000)}) + genesis := testGenesis(addr, big.NewInt(1000000)).MustCommit(db) chain, receipts := GenerateChain(params.TestChainConfig, genesis, db, 1010, func(i int, gen *BlockGen) { var receipts types.Receipts switch i { |