Skip to content

Commit

Permalink
Fix NetworkWideStatsEntry initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescowens committed Jan 15, 2025
1 parent 02a6804 commit 0bbceeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gridcoin/scraper/scraper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3792,7 +3792,7 @@ bool ProcessNetworkWideFromProjectStats(ScraperStats& mScraperStats)
unsigned int nCPIDProjectCount = 0;

//Also track the network wide rollup.
ScraperObjectStats NetworkWideStatsEntry;
ScraperObjectStats NetworkWideStatsEntry {};

NetworkWideStatsEntry.statskey.objecttype = statsobjecttype::NetworkWide;
// ObjectID is blank string for network-wide.
Expand Down

0 comments on commit 0bbceeb

Please sign in to comment.