Skip to content

Commit

Permalink
Viewed, dismissed, clicked and landed Confirmations controlled by est…
Browse files Browse the repository at this point in the history
…imated redemption value

fixes brave/brave-browser#3690
  • Loading branch information
tmancey committed Mar 13, 2019
1 parent dd5aff4 commit af14556
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/brave_rewards/browser/rewards_service_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1529,8 +1529,7 @@ void RewardsServiceImpl::OnGetConfirmationsHistory(
int total_viewed = 0;

for (const auto& transaction : info->transactions) {
// "view" is defined in confirmations::kConfirmationTypeView
if (transaction.confirmation_type != "view") {
if (transaction.estimated_redemption_value == 0.0) {
continue;
}

Expand Down

0 comments on commit af14556

Please sign in to comment.