Skip to content

Commit

Permalink
fix init
Browse files Browse the repository at this point in the history
  • Loading branch information
AdoAdoAdo committed Apr 25, 2024
1 parent 47aff83 commit 0442db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/block/postprocess/basePostProcess.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (bpp *basePostProcessor) InitProcessedResults(key []byte) {
defer bpp.mutInterResultsForBlock.Unlock()

bpp.processedResult.mapProcessedResult[string(key)] = make([][]byte, 0, defaultCapacity)
bpp.processedResult.keys = make([]string, 0, defaultCapacity)
bpp.processedResult.keys = append(bpp.processedResult.keys, string(key))
}

func (bpp *basePostProcessor) splitMiniBlocksIfNeeded(miniBlocks []*block.MiniBlock) []*block.MiniBlock {
Expand Down

0 comments on commit 0442db9

Please sign in to comment.