Skip to content

Commit

Permalink
feat(wallet): Enable Bitcoin by default on iOS (#23970)
Browse files Browse the repository at this point in the history
* Enable Bitcoin by default on iOS.

* review(supermassive): Remove enable Bitcoin by default build flag
  • Loading branch information
StephenHeaps authored Jul 2, 2024
1 parent ebfe046 commit 754a8d5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion components/brave_wallet/common/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ buildflag_header("buildflags") {
header = "buildflags.h"
flags = [
"BRAVE_INFURA_PROJECT_ID=\"$brave_infura_project_id\"",
"ENABLE_BITCOIN_BY_DEFAULT=$enable_bitcoin_by_default",
"ENABLE_ZCASH_BY_DEFAULT=$enable_zcash_by_default",
"ENABLE_ORCHARD=$enable_orchard",
]
Expand Down
1 change: 0 additions & 1 deletion components/brave_wallet/common/config.gni
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import("//build/config/features.gni")

declare_args() {
brave_infura_project_id = ""
enable_bitcoin_by_default = !is_ios
enable_zcash_by_default = !is_ios && !is_android

# Flag is used to allow future size difference calculation
Expand Down
4 changes: 0 additions & 4 deletions components/brave_wallet/common/features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ BASE_FEATURE(kBraveWalletNftPinningFeature,

BASE_FEATURE(kBraveWalletBitcoinFeature,
"BraveWalletBitcoin",
#if BUILDFLAG(ENABLE_BITCOIN_BY_DEFAULT)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif
);
const base::FeatureParam<int> kBitcoinRpcThrottle{&kBraveWalletBitcoinFeature,
"rpc_throttle", 1};
Expand Down

0 comments on commit 754a8d5

Please sign in to comment.