Skip to content

Commit 3579b35

Browse files
committed
api: disable bip85 temporarily
Gearing up for release of v9.16.0 with BitBoxApp v4.41.0, but BIP85 is not gonna be ready in the app in time, and I want to review the code once more.
1 parent 89825f4 commit 3579b35

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/rust/bitbox02-rust/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ app-cardano = [
107107
"ed25519"
108108
]
109109

110+
app-bip85 = []
111+
110112
testing = [
111113
# enable these deps
112114
"lazy_static",

src/rust/bitbox02-rust/src/hww/api.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ pub mod bitcoin;
2626
mod cardano;
2727

2828
mod backup;
29+
#[cfg(feature = "app-bip85")]
2930
mod bip85;
3031
mod device_info;
3132
mod electrum;
@@ -183,6 +184,9 @@ async fn process_api(request: &Request) -> Result<Response, Error> {
183184
.map(|r| Response::Cardano(pb::CardanoResponse { response: Some(r) })),
184185
#[cfg(not(feature = "app-cardano"))]
185186
Request::Cardano(_) => Err(Error::Disabled),
187+
#[cfg(not(feature = "app-bip85"))]
188+
Request::Bip85(_) => Err(Error::Disabled),
189+
#[cfg(feature = "app-bip85")]
186190
Request::Bip85(ref request) => bip85::process(request).await,
187191
_ => Err(Error::InvalidInput),
188192
}

0 commit comments

Comments
 (0)