Skip to content

Commit 090a90c

Browse files
authored
fix: mismatch greedy builder in test code (ethereum#86)
1 parent 9acf640 commit 090a90c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

miner/algo_greedy_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ func TestBuildBlockGasLimit(t *testing.T) {
3030
var result *environment
3131
switch algo {
3232
case ALGO_GREEDY_BUCKETS:
33-
builder := newGreedyBuilder(chData.chain, chData.chainConfig, nil, env, nil, nil)
33+
builder := newGreedyBucketsBuilder(chData.chain, chData.chainConfig, nil, nil, env, nil, nil)
3434
result, _, _ = builder.buildBlock([]types.SimulatedBundle{}, nil, txs)
3535
case ALGO_GREEDY:
36-
builder := newGreedyBucketsBuilder(chData.chain, chData.chainConfig, nil, nil, env, nil, nil)
36+
builder := newGreedyBuilder(chData.chain, chData.chainConfig, nil, env, nil, nil)
3737
result, _, _ = builder.buildBlock([]types.SimulatedBundle{}, nil, txs)
3838
}
3939

0 commit comments

Comments
 (0)