Skip to content

Commit

Permalink
Fix issue with confirmations _is_production boolean flag not matching…
Browse files Browse the repository at this point in the history
… ledger

resolves brave/brave-browser#3498
  • Loading branch information
tmancey committed Feb 26, 2019
1 parent 02f4a60 commit f39ad5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vendor/bat-native-ledger/src/ledger_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ void LedgerImpl::OnLedgerStateLoaded(ledger::Result result,
void LedgerImpl::SetConfirmationsWalletInfo(
const braveledger_bat_helper::WALLET_INFO_ST& wallet_info) {
if (!bat_confirmations_) {
confirmations::_is_production = ledger::is_production;

bat_confirmations_.reset(
confirmations::Confirmations::CreateInstance(ledger_client_));
}
Expand Down

0 comments on commit f39ad5c

Please sign in to comment.