diff --git a/interface/src/sign_change_pubkey.rs b/interface/src/sign_change_pubkey.rs index 8e800fca..e2f12c6b 100644 --- a/interface/src/sign_change_pubkey.rs +++ b/interface/src/sign_change_pubkey.rs @@ -104,6 +104,7 @@ pub fn create_signed_change_pubkey( Ok(Arc::new(tx)) } +#[cfg(not(feature = "ffi"))] #[cfg(test)] mod test { use super::*; diff --git a/provider/tests/test_rpc.rs b/provider/tests/test_rpc.rs index f9c67c84..4ec87ebf 100644 --- a/provider/tests/test_rpc.rs +++ b/provider/tests/test_rpc.rs @@ -1,3 +1,4 @@ +#[cfg(not(feature = "ffi"))] #[cfg(test)] mod test { use jsonrpsee::http_client::HttpClientBuilder;