diff --git a/components/brave_rewards/browser/extension_rewards_service_observer.cc b/components/brave_rewards/browser/extension_rewards_service_observer.cc index cca5d37f56c1..821562835e30 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,