Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Jul 7, 2023
1 parent 8b1bd58 commit 37c9bc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions process/elasticproc/logsevents/statusInfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func newTxHashStatusInfoProcessor() *txHashStatusInfoProc {
}
}

// AddRecord will add a new record for the given hash
// addRecord will add a new record for the given hash
func (ths *txHashStatusInfoProc) addRecord(hash string, statusInfo *outport.StatusInfo) {
statusInfoFromMap, found := ths.hashStatusInfo[hash]
if !found {
Expand All @@ -32,7 +32,7 @@ func (ths *txHashStatusInfoProc) addRecord(hash string, statusInfo *outport.Stat
statusInfoFromMap.CompletedEvent = statusInfoFromMap.CompletedEvent || statusInfo.CompletedEvent
}

// GetAllRecords will return all the records
// getAllRecords will return all the records
func (ths *txHashStatusInfoProc) getAllRecords() map[string]*outport.StatusInfo {
return ths.hashStatusInfo
}

0 comments on commit 37c9bc9

Please sign in to comment.