From eebf56d32d2bbe7dcf2cc28fd646b2f09fedbc26 Mon Sep 17 00:00:00 2001 From: Terry Mancey Date: Tue, 19 Sep 2023 15:38:54 -0500 Subject: [PATCH] Fixes redeeming of payment tokens sometimes is not triggered with ShouldAlwaysRunBraveAdsService - 1.59.x (#20217) Fixes redeeming of payment tokens sometimes is not triggered with ShouldAlwaysRunBraveAdsService --- components/brave_ads/core/internal/account/account.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/brave_ads/core/internal/account/account.cc b/components/brave_ads/core/internal/account/account.cc index ec9097469381..86ba6ff0974f 100644 --- a/components/brave_ads/core/internal/account/account.cc +++ b/components/brave_ads/core/internal/account/account.cc @@ -356,7 +356,7 @@ void Account::OnNotifyRewardsWalletDidUpdate(const std::string& payment_id, const std::string& recovery_seed) { SetWallet(payment_id, recovery_seed); - MaybeRefillConfirmationTokens(); + Initialize(); } void Account::OnNotifyDidSolveAdaptiveCaptcha() {