Skip to content

Commit

Permalink
Different url for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
liorbond committed Nov 28, 2022
1 parent 4036e66 commit a8b98fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cosmwasm/enclaves/shared/crypto/src/key_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,10 @@ impl Keychain {
}

fn try_get_consensus_seed_from_service(id: u16) -> Result<Seed, CryptoError> {
pub const SEED_SERVICE_DNS: &str = "sss.scrtlabs.com";
#[cfg(feature = "production")]
pub const SEED_SERVICE_DNS: &'static str = "sss.scrtlabs.com";
#[cfg(not(feature = "production"))]
pub const SEED_SERVICE_DNS: &'static str = "sssd.scrtlabs.com";
let socket = Keychain::create_socket_to_service(SEED_SERVICE_DNS)?;
Keychain::get_challange_from_service(socket, SEED_SERVICE_DNS);
let s: [u8; 32] = [
Expand Down

0 comments on commit a8b98fd

Please sign in to comment.