Skip to content

Commit

Permalink
addressed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikspatil024 committed Jan 22, 2024
1 parent 46b554a commit 60b5c41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/parallel_state_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,9 @@ func (p *ParallelStateProcessor) Process(block *types.Block, statedb *state.Stat

deps := GetDeps(blockTxDependency)

if !VerifyDeps(deps) {
if !VerifyDeps(deps) || len(blockTxDependency) != len(block.Transactions()) {
blockTxDependency = nil
deps = make(map[int][]int)
}

if blockTxDependency != nil {
Expand Down

0 comments on commit 60b5c41

Please sign in to comment.