Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
Remove utils/wait usage outside tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi committed Sep 25, 2023
1 parent 01ce032 commit 506ecb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/helpers/deploy/deployDummyERC20.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {Signer} from "ethers";
import {wait} from "test/utils";
import {DummyERC20, DummyERC20__factory} from "typechain-types";
import {deploy} from "utils";

Expand All @@ -14,7 +13,8 @@ export async function deployDummyERC20(

if (recipients && amounts) {
for (var i in recipients) {
await wait(token.contract.mint(recipients[i], amounts[i]));
const tx = await token.contract.mint(recipients[i], amounts[i]);
await tx.wait();
}
}

Expand Down

0 comments on commit 506ecb0

Please sign in to comment.