Skip to content

Commit

Permalink
Small cleans
Browse files Browse the repository at this point in the history
  • Loading branch information
tjayrush committed Sep 3, 2023
1 parent 9dddebe commit c0cba46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/apps/chifra/internal/scrape/scrape_blaze.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (bm *BlazeManager) ProcessAppearances(appearanceChannel chan scrapedData, a
return err
}

err = bm.WriteAppearancesBlaze(sData.bn, addrMap)
err = bm.WriteAppearances(sData.bn, addrMap)
if err != nil {
return err
}
Expand All @@ -157,7 +157,8 @@ func (bm *BlazeManager) ProcessTimestamps(tsChannel chan tslib.TimestampRecord,

var writeMutex sync.Mutex

func (bm *BlazeManager) WriteAppearancesBlaze(bn base.Blknum, addrMap index.AddressBooleanMap) (err error) {
// WriteAppearances writes the appearance for a chunk to a file
func (bm *BlazeManager) WriteAppearances(bn base.Blknum, addrMap index.AddressBooleanMap) (err error) {
if len(addrMap) > 0 {
appearanceArray := make([]string, 0, len(addrMap))
for record := range addrMap {
Expand Down

0 comments on commit c0cba46

Please sign in to comment.