Skip to content

Commit

Permalink
Merge pull request #111 from brave-intl/fix/auto-cont-off
Browse files Browse the repository at this point in the history
Web sites should now not be added to auto contribute if user has not opted into rewards
  • Loading branch information
NejcZdovc authored Sep 21, 2018
2 parents bba76f1 + 1a3c6b5 commit 29e7547
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bat_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ static bool ignore_ = false;
fee_amount_(0),
user_changed_fee_(false),
days_(0),
auto_contribute_(true),
rewards_enabled_(true) {}
auto_contribute_(false),
rewards_enabled_(false) {}

CLIENT_STATE_ST::CLIENT_STATE_ST(const CLIENT_STATE_ST& other) {
walletInfo_ = other.walletInfo_;
Expand Down
4 changes: 2 additions & 2 deletions src/bat_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ namespace braveledger_bat_helper {
std::string rulesetV2_;
std::vector<BATCH_VOTES_ST> batch_;
GRANT grant_;
bool auto_contribute_ = true;
bool rewards_enabled_ = true;
bool auto_contribute_ = false;
bool rewards_enabled_ = false;
};

struct REPORT_BALANCE_ST {
Expand Down

0 comments on commit 29e7547

Please sign in to comment.