Skip to content

Commit

Permalink
fix(async-ccc): handle empty transaction block (#1006)
Browse files Browse the repository at this point in the history
* fix(async-ccc): handle empty transaction block

* make the change smaller

* make the diff smaller
  • Loading branch information
colinlyguo authored Aug 27, 2024
1 parent c1c32e7 commit cfcf112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup/ccc/async_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (c *AsyncChecker) checkerTask(block *types.Block, ccc *Checker, forkCtx con
gasPool := new(core.GasPool).AddGas(header.GasLimit)
ccc.Reset()

var accRc *types.RowConsumption
accRc := new(types.RowConsumption)
for txIdx, tx := range block.Transactions() {
if !isForkStillActive(forkCtx) {
return noopCb
Expand Down

0 comments on commit cfcf112

Please sign in to comment.