diff --git a/components/brave_wallet/browser/zcash/zcash_keyring.cc b/components/brave_wallet/browser/zcash/zcash_keyring.cc index 2db9cc897acc..9d42b6daec56 100644 --- a/components/brave_wallet/browser/zcash/zcash_keyring.cc +++ b/components/brave_wallet/browser/zcash/zcash_keyring.cc @@ -36,6 +36,7 @@ std::unique_ptr ConstructAccountsRootKey(base::span seed, } } +#if BUILDFLAG(ENABLE_ORCHARD) std::unique_ptr ConstructOrchardAccountsRootKey( base::span seed, bool testnet) { @@ -50,6 +51,7 @@ std::unique_ptr ConstructOrchardAccountsRootKey( return orchard_key->DeriveHardenedChild( testnet ? kTestnetCoinType : static_cast(mojom::CoinType::ZEC)); } +#endif } // namespace