Skip to content

Commit

Permalink
build fix(3)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad committed Nov 14, 2024
1 parent 3d39688 commit 9948269
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cosmwasm/enclaves/shared/cosmwasm-types/generic/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use log::warn;
use serde::{Deserialize, Serialize};

#[cfg(feature = "random")]
//#[cfg(feature = "random")]
use cw_types_v010::encoding::Binary;

use cw_types_v010::types as v010types;
Expand Down
10 changes: 5 additions & 5 deletions cosmwasm/enclaves/shared/utils/src/key_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ pub struct Keychain {
consensus_seed_exchange_keypair: Option<SeedsHolder<KeyPair>>,
consensus_io_exchange_keypair: Option<SeedsHolder<KeyPair>>,
consensus_callback_secret: Option<SeedsHolder<AESKey>>,
#[cfg(feature = "random")]
//#[cfg(feature = "random")]
pub random_encryption_key: Option<AESKey>,
#[cfg(feature = "random")]
//#[cfg(feature = "random")]
pub initial_randomness_seed: Option<AESKey>,
registration_key: Option<KeyPair>,
admin_proof_secret: Option<AESKey>,
Expand Down Expand Up @@ -198,9 +198,9 @@ impl Keychain {
consensus_seed_exchange_keypair: None,
consensus_io_exchange_keypair: None,
consensus_callback_secret: None,
#[cfg(feature = "random")]
//#[cfg(feature = "random")]
initial_randomness_seed: None,
#[cfg(feature = "random")]
//#[cfg(feature = "random")]
random_encryption_key: None,
admin_proof_secret: None,
contract_key_proof_secret: None,
Expand Down Expand Up @@ -529,7 +529,7 @@ impl Keychain {
consensus_callback_secret_current,
);

#[cfg(feature = "random")]
//#[cfg(feature = "random")]
{
let rek =
self.consensus_seed.unwrap().current.derive_key_from_this(
Expand Down

0 comments on commit 9948269

Please sign in to comment.