Skip to content

Commit

Permalink
reverted PR #18650
Browse files Browse the repository at this point in the history
Signed-off-by: Vadym Struts <[email protected]>
  • Loading branch information
vadimstruts committed Jan 5, 2025
1 parent 215b794 commit 38a89da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion components/brave_wallet/browser/ethereum_provider_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1224,7 +1224,6 @@ void EthereumProviderImpl::OnRequestEthereumPermissions(
formed_response = GetProviderErrorDictionary(
mojom::ProviderError::kUserRejectedRequest,
l10n_util::GetStringUTF8(IDS_WALLET_USER_REJECTED_REQUEST));
delegate_->ShowPanel();
break;
case RequestPermissionsError::kInternal:
formed_response = GetProviderErrorDictionary(
Expand Down
1 change: 0 additions & 1 deletion components/brave_wallet/browser/solana_provider_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,6 @@ void SolanaProviderImpl::OnConnect(
l10n_util::GetStringUTF8(
IDS_WALLET_REQUESTED_RESOURCE_NOT_AVAILABLE_ERROR),
"");
delegate_->ShowPanel();
} else if (error == RequestPermissionsError::kNone) {
CHECK(allowed_accounts);
if (allowed_accounts->size()) {
Expand Down

0 comments on commit 38a89da

Please sign in to comment.