Skip to content

Commit

Permalink
[fix] hyperledger-iroha#4090: Fix having to pass IROHA_SKIP_WASM_CHEC…
Browse files Browse the repository at this point in the history
…KS env variable with true

Signed-off-by: Asem-Abdelhady <asemshawkey@gmail.com>
  • Loading branch information
Asem-Abdelhady authored and mversic committed Dec 8, 2023
1 parent 6f2c04c commit a3ad30b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn main() -> Result<()> {
// HACK: used by Nix, since at the moment
// the checks are a process that's hard to accomodate
// in Nix environment
if std::option_env!("IROHA_SKIP_WASM_CHECKS").is_none() {
if std::option_env!("IROHA_SKIP_WASM_CHECKS").is_some() {
check_default_executor()?;
}

Expand Down
2 changes: 1 addition & 1 deletion client/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn main() -> Result<()> {
// HACK: used by Nix, since at the moment
// the checks are a process that's hard to accomodate
// in Nix environment
if std::option_env!("IROHA_SKIP_WASM_CHECKS").is_none() {
if std::option_env!("IROHA_SKIP_WASM_CHECKS").is_some() {
check_all_smartcontracts()?;
}

Expand Down

0 comments on commit a3ad30b

Please sign in to comment.