Skip to content

Commit

Permalink
fix bugs: got a huge share_stale number (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanHee authored Jun 8, 2020
1 parent 0cb505b commit 75e5730
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Statistics.inl
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ void ShareStatsDay<SHARE>::processShare(
earn1d_ += earn;

} else if (StratumStatus::isAnyStale(share.status())) {
updateRejectDiff(share);
shareStale1h_[hourIdx] += share.sharediff();
shareStale1d_ += share.sharediff();
} else {
Expand Down

0 comments on commit 75e5730

Please sign in to comment.