Skip to content

Commit

Permalink
wait for tx in barge mint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Nov 21, 2023
1 parent 6bc7356 commit 0c2b732
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/deploy-contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ async function main() {
for(let walletNo=1;walletNo<10;walletNo++){
const oceanHolder = new Wallet.fromMnemonic(process.env.MNEMONIC,`m/44'/60'/0'/0/${walletNo}`);
console.log("\t\tSending 100000 Ocean to "+oceanHolder.address)
await ocean.connect(owner).mint(oceanHolder.address,ethers.utils.parseUnits('100000', 'ether'), options);
const mintTx=await ocean.connect(owner).mint(oceanHolder.address,ethers.utils.parseUnits('100000', 'ether'), options);
await mintTx.wait()
}
}

Expand Down

0 comments on commit 0c2b732

Please sign in to comment.