From 69470888fab459c0602ba2e8619665888ddb2459 Mon Sep 17 00:00:00 2001 From: luozexuan Date: Thu, 10 Oct 2024 20:48:48 +0800 Subject: [PATCH] chore: fix function name --- core/chain_makers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/chain_makers.go b/core/chain_makers.go index fa9d45d7e8..37f5a23eeb 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -618,7 +618,7 @@ func makeBlockChainWithGenesis(genesis *Genesis, n int, engine consensus.Engine, return db, blocks } -// makeBlockChain creates a deterministic chain of blocks rooted at parent with fake invalid transactions. +// makeFakeNonEmptyBlockChain creates a deterministic chain of blocks rooted at parent with fake invalid transactions. func makeFakeNonEmptyBlockChain(parent *types.Block, n int, engine consensus.Engine, db ethdb.Database, seed int, numTx int) []*types.Block { blocks, _ := GenerateChain(params.TestChainConfig, parent, engine, db, n, func(i int, b *BlockGen) { addr := common.Address{0: byte(seed), 19: byte(i)}