Skip to content

Commit

Permalink
test: fix issue in e2e_account_contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Sep 2, 2023
1 parent 16444ce commit 75ad842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/end-to-end/src/e2e_account_contracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('e2e_account_contracts', () => {
address?: CompleteAddress,
) => {
const account = new Account(rpc, encryptionPrivateKey, accountContract, address);
const wallet = await account.deploy().then(tx => tx.getWallet());
const wallet = !address ? await account.deploy().then(tx => tx.getWallet()) : await account.getWallet();
return { account, wallet };
};

Expand Down

0 comments on commit 75ad842

Please sign in to comment.