Skip to content

Commit

Permalink
added changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Fraccaroli authored and brentstone committed Dec 13, 2023
1 parent 280a0d6 commit 1dfaabf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .changelog/unreleased/improvements/2273-pre-gen-wallet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Now join-network will try to look for non validator wallet in more places.
([\#2273](https://github.com/anoma/namada/pull/2273))
5 changes: 3 additions & 2 deletions apps/src/lib/client/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,9 @@ pub async fn join_network(

// Pre-load the validator pre-genesis wallet and its keys to validate that
// everything is in place before downloading the network archive
let validator_alias_and_pre_genesis_wallet =
validator_alias_and_dir.as_ref().map(|(validator_alias, pre_genesis_dir)| {
let validator_alias_and_pre_genesis_wallet = validator_alias_and_dir
.as_ref()
.map(|(validator_alias, pre_genesis_dir)| {
(
alias::Alias::from(validator_alias),
pre_genesis::load(pre_genesis_dir).unwrap_or_else(|err| {
Expand Down

0 comments on commit 1dfaabf

Please sign in to comment.