Skip to content

Commit

Permalink
fix wasm dir during join-network
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Aug 23, 2024
1 parent de21f53 commit 2c29c08
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/apps_lib/src/client/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ use crate::config::genesis::transactions::{
};
use crate::config::genesis::{AddrOrPk, GenesisAddress};
use crate::config::global::GlobalConfig;
use crate::config::{self, genesis, get_default_namada_folder, TendermintMode};
use crate::config::{
self, genesis, get_default_namada_folder, TendermintMode, DEFAULT_WASM_DIR,
};
use crate::facade::tendermint::node::Id as TendermintNodeId;
use crate::wallet::{pre_genesis, CliWalletUtils};
use crate::{tendermint_node, wasm_loader};
Expand Down Expand Up @@ -249,6 +251,9 @@ pub async fn join_network(
.await
.unwrap();

config.wasm_dir = wasm_dir_full;
} else {
let wasm_dir_full = chain_dir.join(DEFAULT_WASM_DIR);
config.wasm_dir = wasm_dir_full;
}

Expand Down

0 comments on commit 2c29c08

Please sign in to comment.