Skip to content

Commit

Permalink
fix com
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Nov 9, 2022
1 parent 4f66684 commit de67b59
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ func (proc *smartContractResultsProcessor) processSCRs(
) []*indexerData.ScResult {
allSCRs := make([]*indexerData.ScResult, 0, len(txsHandler))

// we need this map because proc.processSCRsFromMiniblock removes items
// from the map in order to remain with the smart contract results that have no transaction on the current shard
// a copy of the SCRS map is needed because proc.processSCRsFromMiniblock would remove items from the original map
workingSCRSMap := copySCRSMap(txsHandler)
for _, mb := range body.MiniBlocks {
if mb.Type != block.SmartContractResultBlock {
Expand Down

0 comments on commit de67b59

Please sign in to comment.