diff --git a/components/brave_rewards/browser/extension_rewards_service_observer.cc b/components/brave_rewards/browser/extension_rewards_service_observer.cc index 804ce13443fc..24cb0a80a277 100644 --- a/components/brave_rewards/browser/extension_rewards_service_observer.cc +++ b/components/brave_rewards/browser/extension_rewards_service_observer.cc @@ -25,7 +25,7 @@ void ExtensionRewardsServiceObserver::OnWalletInitialized( int error_code) { extensions::EventRouter* event_router = extensions::EventRouter::Get(profile_); - if (event_router) { + if (event_router && error_code == 0) { std::unique_ptr args(new base::ListValue()); std::unique_ptr event(new extensions::Event( extensions::events::BRAVE_WALLET_CREATED,