Skip to content

Commit

Permalink
fix: compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmauro committed Aug 19, 2024
1 parent db43e49 commit 5decf6a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub async fn run(shell: &Shell, args: IntegrationArgs) -> anyhow::Result<()> {
.init_test_wallet(&ecosystem_config, &chain_config)
.await?;

let private_key = wallets.get_test_wallet(chain_config)?.private_key.unwrap();
let private_key = wallets.get_test_wallet(&chain_config)?.private_key.unwrap();

let mut command = cmd!(shell, "yarn jest --forceExit --testTimeout 60000")
.env("CHAIN_NAME", ecosystem_config.current_chain())
Expand Down Expand Up @@ -121,10 +121,10 @@ impl TestWallets {
self.get("test_mnemonic".to_string())
}

fn get_test_wallet(&self, chain_config: &ChainConfig,) -> anyhow::Result<Wallet> {
fn get_test_wallet(&self, chain_config: &ChainConfig) -> anyhow::Result<Wallet> {
let test_wallet_id: String = format!("test_mnemonic{}", chain_config.id + 1);

self.get(test_wallet_id)?
self.get(test_wallet_id)
}

async fn init_test_wallet(
Expand Down

0 comments on commit 5decf6a

Please sign in to comment.